home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-04-25 | 417.6 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Home
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
100%
| file
| TTComp archive data, binary, 1K dictionary
| default (weak)
| |
99%
| file
| MacBinary II, inited, Wed Apr 24 23:57:39 1991, modified Wed Apr 24 23:57:39 1991, creator HyperCard, type HyperCard stack, 122880 bytes "Home" , at 0x1e080 304522 bytes resource
| default (weak)
| |
98%
| file
| data
| default
| |
49%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-1K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
0%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 04 48 6f 6d 65 00 00 | 00 00 00 00 00 00 00 00 |..Home..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 e0 00 00 | 04 a5 8a a4 3c 04 33 a4 |........|....<.3.|
|00000060| 3c 04 33 00 00 06 00 00 | 00 00 00 00 00 00 00 00 |<.3.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 40 a5 00 00 |........|....@...|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 01 e0 00 | 00 00 70 00 00 00 00 00 |........|..p.....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 08 ea 00 00 00 0b |........|........|
|000000b0| 00 00 14 dd 00 00 1e 05 | 00 00 00 01 00 00 04 80 |........|........|
|000000c0| 00 00 0d 2c 00 00 00 00 | 00 05 00 00 50 00 00 00 |...,....|....P...|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 02 00 80 00 | 02 00 80 00 02 00 80 00 |........|........|
|000000f0| 1b e7 63 3f 00 00 00 00 | 00 00 00 00 00 00 00 00 |..c?....|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 13 22 00 00 0b c4 | 00 00 00 00 00 00 00 00 |..."....|........|
|00000240| 2b 4d 61 63 a5 49 49 3a | 41 70 70 6c 69 63 61 74 |+Mac.II:|Applicat|
|00000250| 69 6f 6e 73 20 c4 3a 48 | 79 70 65 72 43 61 72 64 |ions .:H|yperCard|
|00000260| 20 53 74 61 63 6b 73 3a | 48 6f 6d 65 00 00 00 00 | Stacks:|Home....|
|00000270| 00 ba 00 00 ff ff 00 4c | fb 24 40 80 65 ca 00 00 |.......L|.$@.e...|
|00000280| a3 46 40 80 65 5c 00 0c | c9 5a 00 00 00 01 00 4c |.F@.e\..|.Z.....L|
|00000290| fd 67 00 0c 00 0c c9 5a | 00 00 00 06 00 1b 38 02 |.g.....Z|......8.|
|000002a0| 00 0c c9 5a 00 4c fd 60 | 00 0c ba a6 00 00 00 06 |...Z.L.`|........|
|000002b0| 00 1b 38 02 00 4d 15 2b | 00 00 00 1e 00 00 00 13 |..8..M.+|........|
|000002c0| 00 00 00 00 00 0e 1d de | 0e 4c 00 00 00 4d 01 54 |........|.L...M.T|
|000002d0| 00 0d 44 08 00 00 00 00 | 00 06 00 4d 15 2b 00 00 |..D.....|...M.+..|
|000002e0| 00 00 00 00 00 00 00 00 | 00 1e 00 00 00 13 00 00 |........|........|
|000002f0| 00 00 00 3a 00 00 00 2b | 00 4c 00 00 1b 00 00 00 |...:...+|.L......|
|00000300| 00 00 00 00 00 00 00 00 | 00 1e 00 00 00 07 00 00 |........|........|
|00000310| 00 00 ff ff 00 4d 7e 3a | 30 32 34 ae 04 31 30 32 |.....M~:|024..102|
|00000320| 00 4c fe c6 00 0c be 14 | 00 00 00 00 00 07 00 4c |.L......|.......L|
|00000330| fd c7 06 4d 00 0c 96 0a | 00 00 00 07 00 4c fe f9 |...M....|.....L..|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|00000350| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|00000360| cc 88 33 22 cc 88 33 22 | ee 88 bb 22 ee 88 bb 22 |..3"..3"|..."..."|
|00000370| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000380| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | 42 84 09 12 24 48 90 21 |..".....|B...$H.!|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 01 db 60 00 00 04 80 | 00 00 00 00 00 00 00 00 |...`....|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 44 |.-------|------ D|
|00000690| 65 76 65 6c 6f 70 65 72 | 27 73 20 44 6f 6d 69 63 |eveloper|'s Domic|
|000006a0| 69 6c 65 20 4d 61 69 6e | 20 53 63 72 69 70 74 73 |ile Main| Scripts|
|000006b0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 2d 2d | -------|-----.--|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 a9 31 39 |--------|---- .19|
|000006d0| 38 39 20 62 79 20 4b 65 | 76 69 6e 20 47 61 72 72 |89 by Ke|vin Garr|
|000006e0| 65 74 74 2f 53 6f 66 74 | a5 4c 61 62 20 2d 2d 2d |ett/Soft|.Lab ---|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0d 6f 6e 20 73 |--------|--..on s|
|00000700| 74 61 72 74 55 70 20 2d | 2d 20 a5 a5 0d 69 6e 69 |tartUp -|- ...ini|
|00000710| 74 53 65 71 0d 70 61 73 | 73 20 73 74 61 72 74 55 |tSeq.pas|s startU|
|00000720| 70 0d 65 6e 64 20 73 74 | 61 72 74 55 70 0d 0d 6f |p.end st|artUp..o|
|00000730| 6e 20 73 75 73 70 65 6e | 64 20 2d 2d 20 a5 a5 0d |n suspen|d -- ...|
|00000740| 67 6c 6f 62 61 6c 20 70 | 72 65 76 56 6f 6c 0d 61 |global p|revVol.a|
|00000750| 64 6a 75 73 74 56 6f 6c | 75 6d 65 20 70 72 65 76 |djustVol|ume prev|
|00000760| 56 6f 6c 20 2d 2d 20 72 | 65 73 65 74 20 76 6f 6c |Vol -- r|eset vol|
|00000770| 75 6d 65 20 66 6f 72 20 | 6f 75 74 73 69 64 65 20 |ume for |outside |
|00000780| 6f 66 20 48 43 0d 70 61 | 73 73 20 73 75 73 70 65 |of HC.pa|ss suspe|
|00000790| 6e 64 0d 65 6e 64 20 73 | 75 73 70 65 6e 64 0d 0d |nd.end s|uspend..|
|000007a0| 6f 6e 20 72 65 73 75 6d | 65 20 2d 2d 20 a5 a5 0d |on resum|e -- ...|
|000007b0| 69 6e 69 74 53 65 71 0d | 70 61 73 73 20 72 65 73 |initSeq.|pass res|
|000007c0| 75 6d 65 0d 65 6e 64 20 | 72 65 73 75 6d 65 0d 0d |ume.end |resume..|
|000007d0| 6f 6e 20 71 75 69 74 20 | 2d 2d 20 a5 a5 0d 67 6c |on quit |-- ...gl|
|000007e0| 6f 62 61 6c 20 70 72 65 | 76 56 6f 6c 0d 61 64 6a |obal pre|vVol.adj|
|000007f0| 75 73 74 56 6f 6c 75 6d | 65 20 70 72 65 76 56 6f |ustVolum|e prevVo|
|00000800| 6c 20 2d 2d 20 72 65 73 | 65 74 20 76 6f 6c 75 6d |l -- res|et volum|
|00000810| 65 20 66 6f 72 20 6f 75 | 74 73 69 64 65 20 6f 66 |e for ou|tside of|
|00000820| 20 48 43 0d 70 61 73 73 | 20 71 75 69 74 0d 65 6e | HC.pass| quit.en|
|00000830| 64 20 71 75 69 74 0d 0d | 6f 6e 20 6f 70 65 6e 53 |d quit..|on openS|
|00000840| 74 61 63 6b 20 2d 2d 20 | a5 a5 0d 67 6c 6f 62 61 |tack -- |...globa|
|00000850| 6c 20 53 33 31 0d 70 6c | 61 79 20 53 33 31 0d 70 |l S31.pl|ay S31.p|
|00000860| 61 73 73 20 6f 70 65 6e | 53 74 61 63 6b 0d 65 6e |ass open|Stack.en|
|00000870| 64 20 6f 70 65 6e 53 74 | 61 63 6b 0d 0d 6f 6e 20 |d openSt|ack..on |
|00000880| 63 6c 6f 73 65 53 74 61 | 63 6b 20 2d 2d 20 a5 a5 |closeSta|ck -- ..|
|00000890| 0d 67 6c 6f 62 61 6c 20 | 68 79 64 4d 73 67 2c 53 |.global |hydMsg,S|
|000008a0| 35 0d 70 6c 61 79 20 53 | 35 0d 69 66 20 68 79 64 |5.play S|5.if hyd|
|000008b0| 4d 73 67 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |Msg is t|rue then|
|000008c0| 20 68 69 64 65 20 6d 73 | 67 0d 70 61 73 73 20 63 | hide ms|g.pass c|
|000008d0| 6c 6f 73 65 53 74 61 63 | 6b 0d 65 6e 64 20 63 6c |loseStac|k.end cl|
|000008e0| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 69 6e 69 |oseStack|..on ini|
|000008f0| 74 53 65 71 20 20 2d 2d | 20 a5 a5 20 44 65 76 44 |tSeq --| .. DevD|
|00000900| 6f 6d 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |om initi|alizatio|
|00000910| 6e 20 28 73 74 61 72 74 | 55 70 29 20 73 65 71 75 |n (start|Up) sequ|
|00000920| 65 6e 63 65 0d 67 6c 6f | 62 61 6c 20 6e 6c 69 6e |ence.glo|bal nlin|
|00000930| 2c 63 70 74 72 2c 73 6b | 69 70 49 74 0d 70 75 74 |,cptr,sk|ipIt.put|
|00000940| 20 6d 65 6e 75 56 69 73 | 69 62 6c 65 28 29 20 69 | menuVis|ible() i|
|00000950| 6e 74 6f 20 43 4d 65 6e | 75 0d 69 66 20 74 68 65 |nto CMen|u.if the|
|00000960| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00000970| 68 69 73 20 73 74 61 63 | 6b 20 69 73 20 22 48 6f |his stac|k is "Ho|
|00000980| 6d 65 22 20 74 68 65 6e | 0d 2d 2d 20 74 68 65 20 |me" then|.-- the |
|00000990| 77 65 6c 63 6f 6d 65 20 | 6d 61 74 0d 69 66 20 69 |welcome |mat.if i|
|000009a0| 74 65 6d 20 34 20 6f 66 | 20 74 68 65 20 73 63 72 |tem 4 of| the scr|
|000009b0| 65 65 6e 72 65 63 74 20 | 3c 20 33 35 30 20 74 68 |eenrect |< 350 th|
|000009c0| 65 6e 20 68 69 64 65 20 | 6d 65 6e 75 62 61 72 0d |en hide |menubar.|
|000009d0| 74 61 6c 6b 53 74 72 69 | 6e 67 20 22 44 65 76 65 |talkStri|ng "Deve|
|000009e0| 6c 6f 70 65 72 73 20 44 | 6f 6d 69 63 69 6c 65 22 |lopers D|omicile"|
|000009f0| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 65 20 6f |.end if.|if the o|
|00000a00| 70 74 69 6f 6e 4b 65 79 | 20 69 73 20 6e 6f 74 20 |ptionKey| is not |
|00000a10| 64 6f 77 6e 20 74 68 65 | 6e 0d 2d 2d 20 63 68 65 |down the|n.-- che|
|00000a20| 63 6b 20 74 68 65 20 76 | 65 72 73 69 6f 6e 0d 69 |ck the v|ersion.i|
|00000a30| 66 20 74 68 65 20 76 65 | 72 73 69 6f 6e 20 3c 31 |f the ve|rsion <1|
|00000a40| 2e 32 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |.2 then.|answer "|
|00000a50| 44 65 76 65 6c 6f 70 65 | 72 27 73 20 44 6f 6d 69 |Develope|r's Domi|
|00000a60| 63 69 6c 65 20 72 65 71 | 75 69 72 65 73 20 48 79 |cile req|uires Hy|
|00000a70| 70 65 72 43 61 72 64 20 | 31 2e 32 20 6f 72 20 67 |perCard |1.2 or g|
|00000a80| 72 65 61 74 65 72 2e 22 | 20 c2 0d 77 69 74 68 20 |reater."| ..with |
|00000a90| 22 43 6f 6e 74 69 6e 75 | 65 22 20 6f 72 20 22 51 |"Continu|e" or "Q|
|00000aa0| 75 69 74 22 0d 69 66 20 | 69 74 20 69 73 20 22 51 |uit".if |it is "Q|
|00000ab0| 75 69 74 22 20 74 68 65 | 6e 0d 73 65 6e 64 20 22 |uit" the|n.send "|
|00000ac0| 64 6f 4d 65 6e 75 20 51 | 75 69 74 20 48 79 70 65 |doMenu Q|uit Hype|
|00000ad0| 72 43 61 72 64 22 20 74 | 6f 20 48 79 70 65 72 43 |rCard" t|o HyperC|
|00000ae0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ard.end |if.end i|
|00000af0| 66 0d 2d 2d 20 73 65 74 | 20 6d 73 67 20 62 6f 78 |f.-- set| msg box|
|00000b00| 20 66 6f 72 20 6c 61 72 | 67 65 20 73 63 72 65 65 | for lar|ge scree|
|00000b10| 6e 73 0d 69 66 20 69 74 | 65 6d 20 34 20 6f 66 20 |ns.if it|em 4 of |
|00000b20| 74 68 65 20 73 63 72 65 | 65 6e 72 65 63 74 20 3e |the scre|enrect >|
|00000b30| 20 33 35 30 20 74 68 65 | 6e 0d 73 68 6f 77 20 6d | 350 the|n.show m|
|00000b40| 73 67 20 61 74 20 32 30 | 2c 33 36 30 0d 70 75 74 |sg at 20|,360.put|
|00000b50| 20 22 4d 65 73 73 61 67 | 65 20 42 6f 78 20 73 65 | "Messag|e Box se|
|00000b60| 74 20 66 6f 72 20 4c 61 | 72 67 65 20 53 63 72 65 |t for La|rge Scre|
|00000b70| 65 6e 2e 22 0d 70 75 74 | 20 74 68 65 20 74 69 63 |en.".put| the tic|
|00000b80| 6b 73 20 69 6e 74 6f 20 | 73 74 61 72 74 0d 72 65 |ks into |start.re|
|00000b90| 70 65 61 74 20 75 6e 74 | 69 6c 20 74 68 65 20 6d |peat unt|il the m|
|00000ba0| 6f 75 73 65 43 6c 69 63 | 6b 20 6f 72 20 74 68 65 |ouseClic|k or the|
|00000bb0| 20 74 69 63 6b 73 20 2d | 20 73 74 61 72 74 20 3e | ticks -| start >|
|00000bc0| 20 36 30 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 | 60.end |repeat.p|
|00000bd0| 75 74 20 65 6d 70 74 79 | 0d 68 69 64 65 20 6d 73 |ut empty|.hide ms|
|00000be0| 67 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 66 61 6c |g.end if|.put fal|
|00000bf0| 73 65 20 69 6e 74 6f 20 | 73 6b 69 70 49 74 0d 65 |se into |skipIt.e|
|00000c00| 6c 73 65 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |lse.put |true int|
|00000c10| 6f 20 73 6b 69 70 49 74 | 0d 65 6e 64 20 69 66 20 |o skipIt|.end if |
|00000c20| 2d 2d 20 6f 70 74 69 6f | 6e 4b 65 79 0d 67 65 74 |-- optio|nKey.get|
|00000c30| 48 6f 6d 65 49 6e 66 6f | 0d 70 75 74 20 31 20 69 |HomeInfo|.put 1 i|
|00000c40| 6e 74 6f 20 6e 6c 69 6e | 20 2d 2d 20 73 65 65 20 |nto nlin| -- see |
|00000c50| 6d 65 73 73 61 67 65 20 | 68 65 6c 70 65 72 0d 70 |message |helper.p|
|00000c60| 75 74 20 31 20 69 6e 74 | 6f 20 63 70 74 72 0d 69 |ut 1 int|o cptr.i|
|00000c70| 66 20 43 4d 65 6e 75 20 | 69 73 20 74 72 75 65 20 |f CMenu |is true |
|00000c80| 74 68 65 6e 20 73 68 6f | 77 20 6d 65 6e 75 62 61 |then sho|w menuba|
|00000c90| 72 0d 65 6e 64 20 69 6e | 69 74 53 65 71 0d 0d 6f |r.end in|itSeq..o|
|00000ca0| 6e 20 67 65 74 48 6f 6d | 65 49 6e 66 6f 20 2d 2d |n getHom|eInfo --|
|00000cb0| 20 a5 a5 20 49 6e 69 74 | 69 61 6c 69 7a 65 73 20 | .. Init|ializes |
|00000cc0| 76 61 72 69 61 62 6c 65 | 73 20 69 6e 20 48 6f 6d |variable|s in Hom|
|00000cd0| 65 20 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 73 |e Stack.|global s|
|00000ce0| 74 61 63 6b 73 2c 61 70 | 70 6c 69 63 61 74 69 6f |tacks,ap|plicatio|
|00000cf0| 6e 73 2c 64 6f 63 75 6d | 65 6e 74 73 2c 75 73 65 |ns,docum|ents,use|
|00000d00| 72 4e 61 6d 65 2c 73 6b | 69 70 49 74 2c 58 74 65 |rName,sk|ipIt,Xte|
|00000d10| 72 6e 61 6c 73 0d 67 6c | 6f 62 61 6c 20 68 79 64 |rnals.gl|obal hyd|
|00000d20| 4d 73 67 2c 70 72 65 76 | 56 6f 6c 2c 68 6f 6d 65 |Msg,prev|Vol,home|
|00000d30| 43 68 65 63 6b 2c 6d 65 | 6e 75 53 70 65 61 6b 2c |Check,me|nuSpeak,|
|00000d40| 67 6c 6f 62 61 6c 53 70 | 65 61 6b 2c 73 70 65 65 |globalSp|eak,spee|
|00000d50| 63 68 4f 6e 4f 66 66 0d | 73 65 74 20 6c 6f 63 6b |chOnOff.|set lock|
|00000d60| 73 63 72 65 65 6e 20 74 | 6f 20 74 72 75 65 0d 73 |screen t|o true.s|
|00000d70| 65 74 20 6c 6f 63 6b 4d | 65 73 73 61 67 65 73 20 |et lockM|essages |
|00000d80| 74 6f 20 74 72 75 65 0d | 70 75 73 68 20 63 64 0d |to true.|push cd.|
|00000d90| 70 75 74 20 72 65 73 6f | 75 72 63 65 73 28 22 58 |put reso|urces("X|
|00000da0| 43 4d 44 22 29 20 69 6e | 74 6f 20 58 74 65 72 6e |CMD") in|to Xtern|
|00000db0| 61 6c 73 0d 70 75 74 20 | 72 65 73 6f 75 72 63 65 |als.put |resource|
|00000dc0| 73 28 22 58 46 43 4e 22 | 29 20 61 66 74 65 72 20 |s("XFCN"|) after |
|00000dd0| 58 74 65 72 6e 61 6c 73 | 0d 67 6f 20 74 6f 20 63 |Xternals|.go to c|
|00000de0| 64 20 22 50 72 65 66 65 | 72 65 6e 63 65 73 22 20 |d "Prefe|rences" |
|00000df0| 6f 66 20 73 74 61 63 6b | 20 22 48 6f 6d 65 22 0d |of stack| "Home".|
|00000e00| 70 75 74 20 63 64 20 66 | 6c 64 20 22 55 73 65 72 |put cd f|ld "User|
|00000e10| 20 4e 61 6d 65 22 20 69 | 6e 74 6f 20 75 73 65 72 | Name" i|nto user|
|00000e20| 4e 61 6d 65 0d 73 65 74 | 20 75 73 65 72 4c 65 76 |Name.set| userLev|
|00000e30| 65 6c 20 74 6f 20 63 64 | 20 66 6c 64 20 22 55 73 |el to cd| fld "Us|
|00000e40| 65 72 20 4c 65 76 65 6c | 22 0d 73 65 74 20 70 6f |er Level|".set po|
|00000e50| 77 65 72 4b 65 79 73 20 | 74 6f 20 74 68 65 20 68 |werKeys |to the h|
|00000e60| 69 6c 69 74 65 20 6f 66 | 20 62 74 6e 20 22 50 6f |ilite of| btn "Po|
|00000e70| 77 65 72 20 4b 65 79 73 | 22 0d 73 65 74 20 62 6c |wer Keys|".set bl|
|00000e80| 69 6e 64 54 79 70 69 6e | 67 20 74 6f 20 74 68 65 |indTypin|g to the|
|00000e90| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 74 6e 20 22 | hilite |of btn "|
|00000ea0| 42 6c 69 6e 64 20 54 79 | 70 69 6e 67 22 0d 73 65 |Blind Ty|ping".se|
|00000eb0| 74 20 74 65 78 74 41 72 | 72 6f 77 73 20 74 6f 20 |t textAr|rows to |
|00000ec0| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 62 74 |the hili|te of bt|
|00000ed0| 6e 20 22 54 65 78 74 20 | 41 72 72 6f 77 73 22 0d |n "Text |Arrows".|
|00000ee0| 70 75 74 20 68 69 6c 69 | 74 65 20 6f 66 20 62 74 |put hili|te of bt|
|00000ef0| 6e 20 22 53 70 65 65 63 | 68 22 20 69 6e 74 6f 20 |n "Speec|h" into |
|00000f00| 73 70 65 65 63 68 4f 6e | 4f 66 66 0d 70 75 74 20 |speechOn|Off.put |
|00000f10| 68 69 6c 69 74 65 20 6f | 66 20 62 74 6e 20 22 53 |hilite o|f btn "S|
|00000f20| 70 65 61 6b 20 4d 65 6e | 75 20 43 68 6f 69 63 65 |peak Men|u Choice|
|00000f30| 22 20 69 6e 74 6f 20 6d | 65 6e 75 53 70 65 61 6b |" into m|enuSpeak|
|00000f40| 0d 70 75 74 20 68 69 6c | 69 74 65 20 6f 66 20 62 |.put hil|ite of b|
|00000f50| 74 6e 20 22 41 6c 6c 20 | 53 74 61 63 6b 73 22 20 |tn "All |Stacks" |
|00000f60| 69 6e 74 6f 20 67 6c 6f | 62 61 6c 53 70 65 61 6b |into glo|balSpeak|
|00000f70| 0d 70 75 74 20 66 65 74 | 63 68 56 6f 6c 75 6d 65 |.put fet|chVolume|
|00000f80| 28 29 20 69 6e 74 6f 20 | 70 72 65 76 56 6f 6c 20 |() into |prevVol |
|00000f90| 2d 2d 20 74 68 65 20 76 | 6f 6c 20 73 65 74 74 69 |-- the v|ol setti|
|00000fa0| 6e 67 20 6f 75 74 73 69 | 64 65 20 6f 66 20 48 79 |ng outsi|de of Hy|
|00000fb0| 70 65 72 43 61 72 64 0d | 70 75 74 20 68 69 6c 69 |perCard.|put hili|
|00000fc0| 74 65 20 6f 66 20 62 74 | 6e 20 22 48 69 64 65 20 |te of bt|n "Hide |
|00000fd0| 4d 53 47 20 42 6f 78 20 | 6f 6e 20 43 6c 6f 73 65 |MSG Box |on Close|
|00000fe0| 53 74 61 63 6b 22 20 69 | 6e 74 6f 20 68 79 64 4d |Stack" i|nto hydM|
|00000ff0| 73 67 0d 73 70 65 65 63 | 68 4f 70 65 6e 0d 70 75 |sg.speec|hOpen.pu|
|00001000| 74 20 66 6c 64 20 22 70 | 61 74 68 73 22 20 6f 66 |t fld "p|aths" of|
|00001010| 20 63 64 20 22 73 74 61 | 63 6b 73 22 20 69 6e 74 | cd "sta|cks" int|
|00001020| 6f 20 73 74 61 63 6b 73 | 0d 69 66 20 73 74 61 63 |o stacks|.if stac|
|00001030| 6b 73 20 69 73 20 65 6d | 70 74 79 20 c2 0d 6f 72 |ks is em|pty ..or|
|00001040| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00001050| 20 69 6e 20 73 74 61 63 | 6b 73 20 3c 20 32 20 74 | in stac|ks < 2 t|
|00001060| 68 65 6e 20 2d 2d 20 6e | 65 77 20 69 6e 73 74 61 |hen -- n|ew insta|
|00001070| 6c 6c 61 74 69 6f 6e 0d | 70 75 74 20 74 68 65 20 |llation.|put the |
|00001080| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |long nam|e of thi|
|00001090| 73 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 73 74 61 |s stack |into sta|
|000010a0| 63 6b 73 0d 70 75 74 20 | 70 61 74 68 4e 61 6d 65 |cks.put |pathName|
|000010b0| 28 73 74 61 63 6b 73 29 | 20 69 6e 74 6f 20 73 74 |(stacks)| into st|
|000010c0| 61 63 6b 73 0d 64 65 6c | 65 74 65 20 63 68 61 72 |acks.del|ete char|
|000010d0| 20 31 20 74 6f 20 37 20 | 6f 66 20 73 74 61 63 6b | 1 to 7 |of stack|
|000010e0| 73 0d 70 75 74 20 73 74 | 61 63 6b 73 20 69 6e 74 |s.put st|acks int|
|000010f0| 6f 20 66 6c 64 20 22 70 | 61 74 68 73 22 20 6f 66 |o fld "p|aths" of|
|00001100| 20 63 64 20 22 73 74 61 | 63 6b 73 22 0d 65 6e 64 | cd "sta|cks".end|
|00001110| 20 69 66 0d 70 75 74 20 | 66 6c 64 20 22 70 61 74 | if.put |fld "pat|
|00001120| 68 73 22 20 6f 66 20 63 | 64 20 22 61 70 70 6c 69 |hs" of c|d "appli|
|00001130| 63 61 74 69 6f 6e 73 22 | 20 69 6e 74 6f 20 61 70 |cations"| into ap|
|00001140| 70 6c 69 63 61 74 69 6f | 6e 73 0d 70 75 74 20 66 |plicatio|ns.put f|
|00001150| 6c 64 20 22 70 61 74 68 | 73 22 20 6f 66 20 63 64 |ld "path|s" of cd|
|00001160| 20 22 64 6f 63 75 6d 65 | 6e 74 73 22 20 69 6e 74 | "docume|nts" int|
|00001170| 6f 20 64 6f 63 75 6d 65 | 6e 74 73 0d 67 6f 20 74 |o docume|nts.go t|
|00001180| 6f 20 63 64 20 22 53 6f | 75 6e 64 22 0d 73 65 6e |o cd "So|und".sen|
|00001190| 64 20 22 67 65 74 53 6e | 64 73 22 20 74 6f 20 63 |d "getSn|ds" to c|
|000011a0| 64 20 22 53 6f 75 6e 64 | 22 0d 69 66 20 73 6b 69 |d "Sound|".if ski|
|000011b0| 70 49 74 20 69 73 20 6e | 6f 74 20 74 72 75 65 20 |pIt is n|ot true |
|000011c0| 74 68 65 6e 0d 69 66 20 | 74 68 65 20 68 69 6c 69 |then.if |the hili|
|000011d0| 74 65 20 6f 66 20 63 64 | 20 62 74 6e 20 22 49 6e |te of cd| btn "In|
|000011e0| 69 74 69 61 6c 69 7a 65 | 20 73 6f 75 6e 64 73 20 |itialize| sounds |
|000011f0| 6f 6e 20 73 74 61 72 74 | 55 70 22 20 69 73 20 74 |on start|Up" is t|
|00001200| 72 75 65 20 74 68 65 6e | 0d 73 65 6e 64 20 22 73 |rue then|.send "s|
|00001210| 65 74 53 6e 64 42 74 6e | 73 22 20 74 6f 20 63 64 |etSndBtn|s" to cd|
|00001220| 20 22 53 6f 75 6e 64 22 | 0d 65 6e 64 20 69 66 0d | "Sound"|.end if.|
|00001230| 65 6e 64 20 69 66 0d 70 | 75 74 20 74 72 75 65 20 |end if.p|ut true |
|00001240| 69 6e 74 6f 20 68 6f 6d | 65 43 68 65 63 6b 20 2d |into hom|eCheck -|
|00001250| 2d 20 69 73 20 44 65 76 | 44 6f 6d 20 22 48 6f 6d |- is Dev|Dom "Hom|
|00001260| 65 22 3f 0d 70 6f 70 20 | 63 64 0d 70 75 74 20 66 |e"?.pop |cd.put f|
|00001270| 61 6c 73 65 20 69 6e 74 | 6f 20 73 6b 69 70 49 74 |alse int|o skipIt|
|00001280| 0d 65 6e 64 20 67 65 74 | 48 6f 6d 65 49 6e 66 6f |.end get|HomeInfo|
|00001290| 0d 0d 6f 6e 20 64 6f 4d | 65 6e 75 20 77 68 69 63 |..on doM|enu whic|
|000012a0| 68 20 2d 2d 20 a5 a5 0d | 67 6c 6f 62 61 6c 20 6d |h -- ...|global m|
|000012b0| 65 6e 75 53 70 65 61 6b | 2c 64 6f 53 70 65 61 6b |enuSpeak|,doSpeak|
|000012c0| 0d 69 66 20 6d 65 6e 75 | 53 70 65 61 6b 20 69 73 |.if menu|Speak is|
|000012d0| 20 74 72 75 65 20 61 6e | 64 20 64 6f 53 70 65 61 | true an|d doSpea|
|000012e0| 6b 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |k is emp|ty then |
|000012f0| 74 61 6c 6b 53 74 72 69 | 6e 67 20 77 68 69 63 68 |talkStri|ng which|
|00001300| 0d 69 66 20 77 68 69 63 | 68 20 69 73 20 22 53 63 |.if whic|h is "Sc|
|00001310| 72 69 70 74 45 64 69 74 | aa 22 20 74 68 65 6e 0d |riptEdit|." then.|
|00001320| 53 63 72 69 70 74 45 64 | 69 74 0d 65 6c 73 65 20 |ScriptEd|it.else |
|00001330| 69 66 20 77 68 69 63 68 | 20 69 73 20 22 51 75 69 |if which| is "Qui|
|00001340| 74 20 48 79 70 65 72 43 | 61 72 64 22 20 61 6e 64 |t HyperC|ard" and|
|00001350| 20 c2 0d 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d | ..the s|hort nam|
|00001360| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00001370| 69 73 20 6e 6f 74 20 22 | 48 6f 6d 65 22 20 74 68 |is not "|Home" th|
|00001380| 65 6e 0d 2d 2d 43 6f 6d | 6d 61 6e 64 20 22 51 22 |en.--Com|mand "Q"|
|00001390| 20 69 73 20 74 6f 6f 20 | 63 6c 6f 73 65 20 74 6f | is too |close to|
|000013a0| 20 63 6f 6d 6d 61 6e 64 | 20 22 31 22 0d 61 6e 73 | command| "1".ans|
|000013b0| 77 65 72 20 22 51 75 69 | 74 20 48 79 70 65 72 43 |wer "Qui|t HyperC|
|000013c0| 61 72 64 3f 22 20 77 69 | 74 68 20 22 43 61 6e 63 |ard?" wi|th "Canc|
|000013d0| 65 6c 22 20 6f 72 20 22 | 51 75 69 74 22 0d 69 66 |el" or "|Quit".if|
|000013e0| 20 69 74 20 69 73 20 22 | 51 75 69 74 22 20 74 68 | it is "|Quit" th|
|000013f0| 65 6e 20 70 61 73 73 20 | 64 6f 4d 65 6e 75 0d 65 |en pass |doMenu.e|
|00001400| 6c 73 65 20 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |lse exit| doMenu.|
|00001410| 65 6c 73 65 20 70 61 73 | 73 20 64 6f 4d 65 6e 75 |else pas|s doMenu|
|00001420| 0d 65 6e 64 20 64 6f 4d | 65 6e 75 0d 0d 2d 2d 2d |.end doM|enu..---|
|00001430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 55 74 69 |--------|---- Uti|
|00001440| 6c 69 74 79 20 53 63 72 | 69 70 74 73 20 2d 2d 2d |lity Scr|ipts ---|
|00001450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 66 75 6e |--------|---..fun|
|00001460| 63 74 69 6f 6e 20 73 68 | 6f 72 74 4e 61 6d 65 20 |ction sh|ortName |
|00001470| 61 4e 61 6d 65 20 2d 2d | 20 a5 a5 20 52 65 74 75 |aName --| .. Retu|
|00001480| 72 6e 73 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |rns the |short na|
|00001490| 6d 65 20 66 72 6f 6d 20 | 61 20 66 75 6c 6c 20 6e |me from |a full n|
|000014a0| 61 6d 65 0d 70 75 74 20 | 22 31 22 20 69 6e 74 6f |ame.put |"1" into|
|000014b0| 20 74 68 65 4f 66 66 0d | 72 65 70 65 61 74 20 75 | theOff.|repeat u|
|000014c0| 6e 74 69 6c 20 74 68 65 | 4f 66 66 20 69 73 20 22 |ntil the|Off is "|
|000014d0| 30 22 0d 70 75 74 20 6f | 66 66 73 65 74 28 22 3a |0".put o|ffset(":|
|000014e0| 22 2c 61 4e 61 6d 65 29 | 20 69 6e 74 6f 20 74 68 |",aName)| into th|
|000014f0| 65 4f 66 66 0d 64 65 6c | 65 74 65 20 63 68 61 72 |eOff.del|ete char|
|00001500| 20 31 20 74 6f 20 74 68 | 65 4f 66 66 20 6f 66 20 | 1 to th|eOff of |
|00001510| 61 4e 61 6d 65 0d 65 6e | 64 20 72 65 70 65 61 74 |aName.en|d repeat|
|00001520| 0d 72 65 74 75 72 6e 20 | 61 4e 61 6d 65 0d 65 6e |.return |aName.en|
|00001530| 64 20 73 68 6f 72 74 4e | 61 6d 65 0d 0d 66 75 6e |d shortN|ame..fun|
|00001540| 63 74 69 6f 6e 20 70 61 | 74 68 4e 61 6d 65 20 61 |ction pa|thName a|
|00001550| 4e 61 6d 65 20 2d 2d 20 | a5 a5 20 52 65 74 75 72 |Name -- |.. Retur|
|00001560| 6e 73 20 74 68 65 20 70 | 61 74 68 20 74 6f 20 61 |ns the p|ath to a|
|00001570| 20 66 69 6c 65 20 6e 61 | 6d 65 0d 72 65 70 65 61 | file na|me.repea|
|00001580| 74 20 66 6f 72 65 76 65 | 72 0d 69 66 20 6c 61 73 |t foreve|r.if las|
|00001590| 74 20 63 68 61 72 20 6f | 66 20 61 4e 61 6d 65 20 |t char o|f aName |
|000015a0| 69 73 20 6e 6f 74 20 22 | 3a 22 20 74 68 65 6e 0d |is not "|:" then.|
|000015b0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|000015c0| 20 6f 66 20 61 4e 61 6d | 65 0d 65 6c 73 65 20 65 | of aNam|e.else e|
|000015d0| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|000015e0| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 61 4e 61 |epeat.re|turn aNa|
|000015f0| 6d 65 0d 65 6e 64 20 70 | 61 74 68 4e 61 6d 65 0d |me.end p|athName.|
|00001600| 0d 66 75 6e 63 74 69 6f | 6e 20 6a 61 6d 53 74 72 |.functio|n jamStr|
|00001610| 69 6e 67 20 6a 53 74 72 | 69 6e 67 20 2d 2d 20 a5 |ing jStr|ing -- .|
|00001620| a5 20 72 65 6d 6f 76 65 | 73 20 70 75 6e 63 74 75 |. remove|s punctu|
|00001630| 61 74 69 6f 6e 20 61 6e | 64 20 73 70 61 63 65 73 |ation an|d spaces|
|00001640| 0d 70 75 74 20 22 2e 2c | 20 2c 2f 2c 3b 2c 3a 2c |.put ".,| ,/,;,:,|
|00001650| 21 2c 3f 2c 27 2c 5b 2c | 5d 2c 7b 2c 7d 22 20 69 |!,?,',[,|],{,}" i|
|00001660| 6e 74 6f 20 74 68 65 50 | 75 6e 63 74 0d 72 65 70 |nto theP|unct.rep|
|00001670| 65 61 74 20 77 69 74 68 | 20 6e 20 3d 20 31 20 74 |eat with| n = 1 t|
|00001680| 6f 20 31 32 0d 70 75 74 | 20 69 74 65 6d 20 6e 20 |o 12.put| item n |
|00001690| 6f 66 20 74 68 65 50 75 | 6e 63 74 20 69 6e 74 6f |of thePu|nct into|
|000016a0| 20 61 50 75 6e 63 74 0d | 72 65 70 65 61 74 20 66 | aPunct.|repeat f|
|000016b0| 6f 72 65 76 65 72 0d 70 | 75 74 20 6f 66 66 73 65 |orever.p|ut offse|
|000016c0| 74 28 61 50 75 6e 63 74 | 2c 6a 53 74 72 69 6e 67 |t(aPunct|,jString|
|000016d0| 29 20 69 6e 74 6f 20 77 | 68 65 72 65 0d 69 66 20 |) into w|here.if |
|000016e0| 77 68 65 72 65 20 69 73 | 20 22 30 22 20 74 68 65 |where is| "0" the|
|000016f0| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 64 65 |n exit r|epeat.de|
|00001700| 6c 65 74 65 20 63 68 61 | 72 20 77 68 65 72 65 20 |lete cha|r where |
|00001710| 6f 66 20 6a 53 74 72 69 | 6e 67 0d 65 6e 64 20 72 |of jStri|ng.end r|
|00001720| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00001730| 0d 72 65 74 75 72 6e 20 | 6a 53 74 72 69 6e 67 0d |.return |jString.|
|00001740| 65 6e 64 20 6a 61 6d 53 | 74 72 69 6e 67 0d 0d 0d |end jamS|tring...|
|00001750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|00001760| 54 4f 4f 4c 53 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |TOOLS --|--------|
|00001770| 2d 2d 2d 2d 2d 0d 0d 6f | 6e 20 73 65 61 72 63 68 |-----..o|n search|
|00001780| 53 63 72 69 70 74 20 2d | 2d 20 a5 a5 20 73 65 61 |Script -|- .. sea|
|00001790| 72 63 68 20 61 6c 6c 20 | 73 63 72 69 70 74 73 20 |rch all |scripts |
|000017a0| 6f 66 20 61 20 73 74 61 | 63 6b 0d 67 6c 6f 62 61 |of a sta|ck.globa|
|000017b0| 6c 20 70 61 74 74 65 72 | 6e 0d 70 75 74 20 74 68 |l patter|n.put th|
|000017c0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000017d0| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|000017e0| 74 68 65 53 74 61 63 6b | 0d 61 6e 73 77 65 72 20 |theStack|.answer |
|000017f0| 22 53 65 61 72 63 68 20 | 73 63 72 69 70 74 73 20 |"Search |scripts |
|00001800| 6f 66 20 77 68 69 63 68 | 20 73 74 61 63 6b 3f 22 |of which| stack?"|
|00001810| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 20 6f | with "C|ancel" o|
|00001820| 72 20 22 4f 74 68 65 72 | 22 20 6f 72 20 74 68 65 |r "Other|" or the|
|00001830| 53 74 61 63 6b 0d 69 66 | 20 69 74 20 69 73 20 22 |Stack.if| it is "|
|00001840| 4f 74 68 65 72 22 20 74 | 68 65 6e 0d 70 75 74 20 |Other" t|hen.put |
|00001850| 6c 69 6e 65 20 31 20 6f | 66 20 c2 0d 63 75 73 74 |line 1 o|f ..cust|
|00001860| 6f 6d 66 69 6c 65 4e 61 | 6d 65 28 22 53 54 41 4b |omfileNa|me("STAK|
|00001870| 22 2c 22 53 65 61 72 63 | 68 20 73 63 72 69 70 74 |","Searc|h script|
|00001880| 73 20 6f 66 20 77 68 69 | 63 68 20 53 74 61 63 6b |s of whi|ch Stack|
|00001890| 3f 22 29 20 c2 0d 69 6e | 74 6f 20 73 74 61 63 6b |?") ..in|to stack|
|000018a0| 4e 61 6d 65 0d 69 66 20 | 73 74 61 63 6b 4e 61 6d |Name.if |stackNam|
|000018b0| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |e is emp|ty then.|
|000018c0| 65 78 69 74 20 73 65 61 | 72 63 68 53 63 72 69 70 |exit sea|rchScrip|
|000018d0| 74 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 20 69 66 |t.end if|.else if|
|000018e0| 20 69 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 | it is "|Cancel" |
|000018f0| 74 68 65 6e 0d 65 78 69 | 74 20 73 65 61 72 63 68 |then.exi|t search|
|00001900| 53 63 72 69 70 74 0d 65 | 6c 73 65 20 70 75 74 20 |Script.e|lse put |
|00001910| 69 74 20 69 6e 74 6f 20 | 73 74 61 63 6b 4e 61 6d |it into |stackNam|
|00001920| 65 0d 70 75 73 68 20 63 | 64 0d 61 73 6b 20 22 53 |e.push c|d.ask "S|
|00001930| 65 61 72 63 68 20 73 63 | 72 69 70 74 73 20 66 6f |earch sc|ripts fo|
|00001940| 72 20 77 68 61 74 3f 22 | 20 77 69 74 68 20 70 61 |r what?"| with pa|
|00001950| 74 74 65 72 6e 0d 69 66 | 20 69 74 20 69 73 20 65 |ttern.if| it is e|
|00001960| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 73 |mpty the|n exit s|
|00001970| 65 61 72 63 68 53 63 72 | 69 70 74 0d 65 6c 73 65 |earchScr|ipt.else|
|00001980| 20 70 75 74 20 69 74 20 | 69 6e 74 6f 20 70 61 74 | put it |into pat|
|00001990| 74 65 72 6e 0d 2d 2d 2d | 2d 20 74 68 65 20 66 6f |tern.---|- the fo|
|000019a0| 6c 6c 6f 77 69 6e 67 20 | 69 73 20 43 6f 70 79 72 |llowing |is Copyr|
|000019b0| 69 67 68 74 20 31 39 38 | 37 20 41 70 70 6c 65 20 |ight 198|7 Apple |
|000019c0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 2d 2d |Computer|, Inc.--|
|000019d0| 2d 0d 73 65 74 20 6c 6f | 63 6b 4d 65 73 73 61 67 |-.set lo|ckMessag|
|000019e0| 65 73 20 74 6f 20 74 72 | 75 65 0d 69 66 20 73 74 |es to tr|ue.if st|
|000019f0| 61 63 6b 4e 61 6d 65 20 | 69 73 20 6e 6f 74 20 65 |ackName |is not e|
|00001a00| 6d 70 74 79 20 74 68 65 | 6e 20 67 6f 20 74 6f 20 |mpty the|n go to |
|00001a10| 73 74 61 63 6b 20 73 74 | 61 63 6b 4e 61 6d 65 0d |stack st|ackName.|
|00001a20| 69 66 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |if the s|cript of|
|00001a30| 20 74 68 69 73 20 73 74 | 61 63 6b 20 63 6f 6e 74 | this st|ack cont|
|00001a40| 61 69 6e 73 20 70 61 74 | 74 65 72 6e 0d 74 68 65 |ains pat|tern.the|
|00001a50| 6e 20 65 64 69 74 20 73 | 63 72 69 70 74 20 6f 66 |n edit s|cript of|
|00001a60| 20 74 68 69 73 20 73 74 | 61 63 6b 0d 72 65 70 65 | this st|ack.repe|
|00001a70| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00001a80| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00001a90| 67 73 0d 67 6f 20 74 6f | 20 63 64 20 31 20 6f 66 |gs.go to| cd 1 of|
|00001aa0| 20 62 67 20 69 0d 69 66 | 20 74 68 65 20 73 63 72 | bg i.if| the scr|
|00001ab0| 69 70 74 20 6f 66 20 74 | 68 69 73 20 62 67 20 63 |ipt of t|his bg c|
|00001ac0| 6f 6e 74 61 69 6e 73 20 | 70 61 74 74 65 72 6e 0d |ontains |pattern.|
|00001ad0| 74 68 65 6e 20 65 64 69 | 74 20 73 63 72 69 70 74 |then edi|t script|
|00001ae0| 20 6f 66 20 62 67 0d 72 | 65 70 65 61 74 20 77 69 | of bg.r|epeat wi|
|00001af0| 74 68 20 6a 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th j = 1| to the |
|00001b00| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 20 62 74 6e |number o|f bg btn|
|00001b10| 73 0d 69 66 20 74 68 65 | 20 73 63 72 69 70 74 20 |s.if the| script |
|00001b20| 6f 66 20 62 67 20 62 74 | 6e 20 6a 20 63 6f 6e 74 |of bg bt|n j cont|
|00001b30| 61 69 6e 73 20 70 61 74 | 74 65 72 6e 0d 74 68 65 |ains pat|tern.the|
|00001b40| 6e 20 65 64 69 74 20 73 | 63 72 69 70 74 20 6f 66 |n edit s|cript of|
|00001b50| 20 62 67 20 62 74 6e 20 | 6a 0d 65 6e 64 20 72 65 | bg btn |j.end re|
|00001b60| 70 65 61 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |peat.rep|eat with|
|00001b70| 20 6a 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | j = 1 t|o the nu|
|00001b80| 6d 62 65 72 20 6f 66 20 | 62 67 20 66 6c 64 73 0d |mber of |bg flds.|
|00001b90| 69 66 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |if the s|cript of|
|00001ba0| 20 62 67 20 66 6c 64 20 | 6a 20 63 6f 6e 74 61 69 | bg fld |j contai|
|00001bb0| 6e 73 20 70 61 74 74 65 | 72 6e 0d 74 68 65 6e 20 |ns patte|rn.then |
|00001bc0| 65 64 69 74 20 73 63 72 | 69 70 74 20 6f 66 20 62 |edit scr|ipt of b|
|00001bd0| 67 20 66 6c 64 20 6a 0d | 65 6e 64 20 72 65 70 65 |g fld j.|end repe|
|00001be0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |at.end r|epeat.re|
|00001bf0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00001c00| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00001c10| 20 63 64 73 0d 67 6f 20 | 63 64 20 69 0d 69 66 20 | cds.go |cd i.if |
|00001c20| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 74 68 |the scri|pt of th|
|00001c30| 69 73 20 63 64 20 63 6f | 6e 74 61 69 6e 73 20 70 |is cd co|ntains p|
|00001c40| 61 74 74 65 72 6e 0d 74 | 68 65 6e 20 65 64 69 74 |attern.t|hen edit|
|00001c50| 20 73 63 72 69 70 74 20 | 6f 66 20 74 68 69 73 20 | script |of this |
|00001c60| 63 64 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6a |cd.repea|t with j|
|00001c70| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00001c80| 65 72 20 6f 66 20 63 64 | 20 62 74 6e 73 0d 69 66 |er of cd| btns.if|
|00001c90| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 63 | the scr|ipt of c|
|00001ca0| 64 20 62 74 6e 20 6a 20 | 63 6f 6e 74 61 69 6e 73 |d btn j |contains|
|00001cb0| 20 70 61 74 74 65 72 6e | 0d 74 68 65 6e 20 65 64 | pattern|.then ed|
|00001cc0| 69 74 20 73 63 72 69 70 | 74 20 6f 66 20 63 64 20 |it scrip|t of cd |
|00001cd0| 62 74 6e 20 6a 0d 65 6e | 64 20 72 65 70 65 61 74 |btn j.en|d repeat|
|00001ce0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =|
|00001cf0| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00001d00| 20 6f 66 20 63 64 20 66 | 6c 64 73 0d 69 66 20 74 | of cd f|lds.if t|
|00001d10| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 63 64 20 |he scrip|t of cd |
|00001d20| 66 6c 64 20 6a 20 63 6f | 6e 74 61 69 6e 73 20 70 |fld j co|ntains p|
|00001d30| 61 74 74 65 72 6e 0d 74 | 68 65 6e 20 65 64 69 74 |attern.t|hen edit|
|00001d40| 20 73 63 72 69 70 74 20 | 6f 66 20 63 64 20 66 6c | script |of cd fl|
|00001d50| 64 20 6a 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |d j.end |repeat.e|
|00001d60| 6e 64 20 72 65 70 65 61 | 74 0d 73 65 74 20 6c 6f |nd repea|t.set lo|
|00001d70| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 66 61 |ckMessag|es to fa|
|00001d80| 6c 73 65 0d 70 6f 70 20 | 63 64 0d 61 6e 73 77 65 |lse.pop |cd.answe|
|00001d90| 72 20 22 46 69 6e 69 73 | 68 65 64 20 73 65 61 72 |r "Finis|hed sear|
|00001da0| 63 68 20 66 6f 72 20 22 | 20 26 20 71 75 6f 74 65 |ch for "| & quote|
|00001db0| 20 26 20 70 61 74 74 65 | 72 6e 20 26 20 71 75 6f | & patte|rn & quo|
|00001dc0| 74 65 20 26 20 22 2e 22 | 0d 65 6e 64 20 73 65 61 |te & "."|.end sea|
|00001dd0| 72 63 68 53 63 72 69 70 | 74 0d 0d 0d 6f 6e 20 66 |rchScrip|t...on f|
|00001de0| 69 65 6c 64 50 72 69 6e | 74 20 2d 2d 20 a5 a5 20 |ieldPrin|t -- .. |
|00001df0| 46 72 6f 6e 74 20 65 6e | 64 20 74 6f 20 50 72 69 |Front en|d to Pri|
|00001e00| 6e 74 46 69 65 6c 64 20 | 58 43 4d 44 0d 67 6c 6f |ntField |XCMD.glo|
|00001e10| 62 61 6c 20 74 68 65 61 | 6e 73 77 65 72 0d 70 75 |bal thea|nswer.pu|
|00001e20| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 66 69 65 |t empty |into fie|
|00001e30| 6c 64 54 65 73 74 0d 69 | 66 20 74 68 65 20 6e 75 |ldTest.i|f the nu|
|00001e40| 6d 62 65 72 20 6f 66 20 | 62 67 20 66 6c 64 73 20 |mber of |bg flds |
|00001e50| 3e 3d 20 31 20 74 68 65 | 6e 20 70 75 74 20 22 42 |>= 1 the|n put "B|
|00001e60| 22 20 61 66 74 65 72 20 | 66 69 65 6c 64 54 65 73 |" after |fieldTes|
|00001e70| 74 0d 69 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |t.if the| number |
|00001e80| 6f 66 20 63 64 20 66 6c | 64 73 20 3e 3d 20 31 20 |of cd fl|ds >= 1 |
|00001e90| 74 68 65 6e 20 70 75 74 | 20 22 43 22 20 61 66 74 |then put| "C" aft|
|00001ea0| 65 72 20 66 69 65 6c 64 | 54 65 73 74 0d 69 66 20 |er field|Test.if |
|00001eb0| 66 69 65 6c 64 54 65 73 | 74 20 69 73 20 65 6d 70 |fieldTes|t is emp|
|00001ec0| 74 79 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 c2 |ty then.|answer .|
|00001ed0| 0d 22 53 6f 72 72 79 20 | 62 75 74 20 74 68 65 72 |."Sorry |but ther|
|00001ee0| 65 20 61 72 65 20 6e 6f | 20 66 69 65 6c 64 73 20 |e are no| fields |
|00001ef0| 6f 66 20 61 6e 79 20 6b | 69 6e 64 20 69 6e 20 74 |of any k|ind in t|
|00001f00| 68 69 73 20 63 61 72 64 | 2e 22 0d 65 78 69 74 20 |his card|.".exit |
|00001f10| 66 69 65 6c 64 50 72 69 | 6e 74 0d 65 6e 64 20 69 |fieldPri|nt.end i|
|00001f20| 66 0d 73 68 6f 77 64 69 | 61 6c 6f 67 20 31 2c 31 |f.showdi|alog 1,1|
|00001f30| 30 30 33 2c 22 53 65 6c | 65 63 74 20 77 68 69 63 |003,"Sel|ect whic|
|00001f40| 68 20 74 79 70 65 20 6f | 66 20 66 69 65 6c 64 20 |h type o|f field |
|00001f50| 74 6f 20 70 72 69 6e 74 | 2e 2e 2e 22 2c 31 0d 69 |to print|...",1.i|
|00001f60| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00001f70| 22 31 22 20 74 68 65 6e | 0d 70 75 74 20 22 62 6b |"1" then|.put "bk|
|00001f80| 67 6e 64 20 66 69 65 6c | 64 22 20 69 6e 74 6f 20 |gnd fiel|d" into |
|00001f90| 74 68 65 54 79 70 65 0d | 69 66 20 22 42 22 20 69 |theType.|if "B" i|
|00001fa0| 73 20 6e 6f 74 20 69 6e | 20 66 69 65 6c 64 54 65 |s not in| fieldTe|
|00001fb0| 73 74 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |st then.|answer "|
|00001fc0| 53 6f 72 72 79 2c 20 62 | 75 74 20 74 68 65 72 65 |Sorry, b|ut there|
|00001fd0| 20 61 72 65 20 6e 6f 20 | 62 6b 67 6e 64 20 66 69 | are no |bkgnd fi|
|00001fe0| 65 6c 64 73 20 69 6e 20 | 74 68 69 73 20 62 6b 67 |elds in |this bkg|
|00001ff0| 6e 64 2e 22 0d 65 78 69 | 74 20 66 69 65 6c 64 50 |nd.".exi|t fieldP|
|00002000| 72 69 6e 74 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |rint.end| if.else|
|00002010| 20 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 | if the |result i|
|00002020| 73 20 22 32 22 20 74 68 | 65 6e 0d 70 75 74 20 22 |s "2" th|en.put "|
|00002030| 63 61 72 64 20 66 69 65 | 6c 64 22 20 69 6e 74 6f |card fie|ld" into|
|00002040| 20 74 68 65 54 79 70 65 | 0d 69 66 20 22 43 22 20 | theType|.if "C" |
|00002050| 69 73 20 6e 6f 74 20 69 | 6e 20 66 69 65 6c 64 54 |is not i|n fieldT|
|00002060| 65 73 74 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |est then|.answer |
|00002070| 22 53 6f 72 72 79 2c 20 | 62 75 74 20 74 68 65 72 |"Sorry, |but ther|
|00002080| 65 20 61 72 65 20 6e 6f | 20 63 61 72 64 20 66 69 |e are no| card fi|
|00002090| 65 6c 64 73 20 69 6e 20 | 74 68 69 73 20 63 61 72 |elds in |this car|
|000020a0| 64 2e 22 0d 65 78 69 74 | 20 66 69 65 6c 64 50 72 |d.".exit| fieldPr|
|000020b0| 69 6e 74 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |int.end |if.else |
|000020c0| 65 78 69 74 20 66 69 65 | 6c 64 70 72 69 6e 74 0d |exit fie|ldprint.|
|000020d0| 70 75 74 20 71 75 6f 74 | 65 20 26 20 74 68 65 54 |put quot|e & theT|
|000020e0| 79 70 65 20 26 20 71 75 | 6f 74 65 20 69 6e 74 6f |ype & qu|ote into|
|000020f0| 20 74 79 70 65 0d 70 75 | 74 20 22 53 65 6c 65 63 | type.pu|t "Selec|
|00002100| 74 20 77 68 69 63 68 20 | 22 20 26 20 74 68 65 54 |t which |" & theT|
|00002110| 79 70 65 20 26 20 22 20 | 74 6f 20 70 72 69 6e 74 |ype & " |to print|
|00002120| 2e 22 0d 64 6f 20 22 70 | 69 63 6b 6c 69 73 74 22 |.".do "p|icklist"|
|00002130| 20 26 26 20 74 79 70 65 | 20 2d 2d 20 67 65 74 20 | && type| -- get |
|00002140| 6c 69 73 74 20 6f 66 20 | 66 69 65 6c 64 73 0d 70 |list of |fields.p|
|00002150| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 6d 73 |ut empty| into ms|
|00002160| 67 0d 68 69 64 65 20 6d | 73 67 0d 69 66 20 74 68 |g.hide m|sg.if th|
|00002170| 65 61 6e 73 77 65 72 20 | 69 73 20 65 6d 70 74 79 |eanswer |is empty|
|00002180| 20 74 68 65 6e 20 65 78 | 69 74 20 66 69 65 6c 64 | then ex|it field|
|00002190| 50 72 69 6e 74 0d 70 75 | 74 20 71 75 6f 74 65 20 |Print.pu|t quote |
|000021a0| 26 20 74 68 65 61 6e 73 | 77 65 72 20 26 20 71 75 |& theans|wer & qu|
|000021b0| 6f 74 65 20 69 6e 74 6f | 20 74 68 65 46 69 65 6c |ote into| theFiel|
|000021c0| 64 0d 69 66 20 74 68 65 | 46 69 65 6c 64 20 63 6f |d.if the|Field co|
|000021d0| 6e 74 61 69 6e 73 20 22 | 63 61 72 64 20 66 69 65 |ntains "|card fie|
|000021e0| 6c 64 22 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |ld" then|.delete |
|000021f0| 63 68 61 72 20 31 20 74 | 6f 20 31 31 20 6f 66 20 |char 1 t|o 11 of |
|00002200| 74 68 65 46 69 65 6c 64 | 0d 64 65 6c 65 74 65 20 |theField|.delete |
|00002210| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 74 68 65 |last cha|r of the|
|00002220| 66 69 65 6c 64 0d 65 6e | 64 20 69 66 0d 69 66 20 |field.en|d if.if |
|00002230| 74 68 65 46 69 65 6c 64 | 20 63 6f 6e 74 61 69 6e |theField| contain|
|00002240| 73 20 22 62 61 63 6b 67 | 72 6f 75 6e 64 20 66 69 |s "backg|round fi|
|00002250| 65 6c 64 22 20 74 68 65 | 6e 0d 64 65 6c 65 74 65 |eld" the|n.delete|
|00002260| 20 63 68 61 72 20 31 20 | 74 6f 20 31 36 20 6f 66 | char 1 |to 16 of|
|00002270| 20 74 68 65 46 69 65 6c | 64 0d 64 65 6c 65 74 65 | theFiel|d.delete|
|00002280| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 74 68 | last ch|ar of th|
|00002290| 65 66 69 65 6c 64 0d 65 | 6e 64 20 69 66 0d 64 6f |efield.e|nd if.do|
|000022a0| 20 22 70 75 74 20 74 68 | 65 20 69 64 20 6f 66 20 | "put th|e id of |
|000022b0| 22 20 26 20 74 68 65 54 | 79 70 65 20 26 26 20 74 |" & theT|ype && t|
|000022c0| 68 65 46 69 65 6c 64 20 | 26 20 22 20 69 6e 74 6f |heField |& " into|
|000022d0| 20 66 69 65 6c 64 49 44 | 22 0d 70 75 74 20 71 75 | fieldID|".put qu|
|000022e0| 6f 74 65 20 26 20 74 68 | 65 54 79 70 65 20 26 26 |ote & th|eType &&|
|000022f0| 20 22 69 64 22 20 26 26 | 20 66 69 65 6c 64 49 44 | "id" &&| fieldID|
|00002300| 20 26 20 71 75 6f 74 65 | 20 69 6e 74 6f 20 70 72 | & quote| into pr|
|00002310| 69 6e 74 53 74 72 69 6e | 67 0d 70 72 69 6e 74 66 |intStrin|g.printf|
|00002320| 69 65 6c 64 20 70 72 69 | 6e 74 53 74 72 69 6e 67 |ield pri|ntString|
|00002330| 2c 32 0d 65 6e 64 20 66 | 69 65 6c 64 50 72 69 6e |,2.end f|ieldPrin|
|00002340| 74 0d 0d 0d 6f 6e 20 52 | 75 6c 65 72 20 2d 2d 20 |t...on R|uler -- |
|00002350| a5 a5 20 4d 65 61 73 75 | 72 65 20 73 63 72 65 65 |.. Measu|re scree|
|00002360| 6e 20 64 69 73 74 61 6e | 63 65 73 20 61 6e 64 20 |n distan|ces and |
|00002370| 61 6e 67 6c 65 73 0d 73 | 65 74 20 63 75 72 73 6f |angles.s|et curso|
|00002380| 72 20 74 6f 20 32 0d 72 | 65 70 65 61 74 20 75 6e |r to 2.r|epeat un|
|00002390| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |til the |mouseCli|
|000023a0| 63 6b 0d 70 75 74 20 74 | 68 65 20 6d 6f 75 73 65 |ck.put t|he mouse|
|000023b0| 4c 6f 63 20 69 6e 74 6f | 20 70 6f 69 6e 74 4f 6e |Loc into| pointOn|
|000023c0| 65 0d 70 75 74 20 22 a5 | 20 41 29 20 22 26 20 70 |e.put ".| A) "& p|
|000023d0| 6f 69 6e 74 4f 6e 65 0d | 65 6e 64 20 72 65 70 65 |ointOne.|end repe|
|000023e0| 61 74 0d 69 66 20 74 68 | 65 20 6f 70 74 69 6f 6e |at.if th|e option|
|000023f0| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then|
|00002400| 0d 63 68 6f 6f 73 65 20 | 70 65 6e 63 69 6c 20 74 |.choose |pencil t|
|00002410| 6f 6f 6c 0d 63 6c 69 63 | 6b 20 61 74 20 70 6f 69 |ool.clic|k at poi|
|00002420| 6e 74 4f 6e 65 0d 63 68 | 6f 6f 73 65 20 62 72 6f |ntOne.ch|oose bro|
|00002430| 77 73 65 20 74 6f 6f 6c | 0d 73 65 74 20 63 75 72 |wse tool|.set cur|
|00002440| 73 6f 72 20 74 6f 20 32 | 0d 65 6e 64 20 69 66 0d |sor to 2|.end if.|
|00002450| 77 61 69 74 20 31 30 0d | 72 65 70 65 61 74 20 75 |wait 10.|repeat u|
|00002460| 6e 74 69 6c 20 74 68 65 | 20 6d 6f 75 73 65 43 6c |ntil the| mouseCl|
|00002470| 69 63 6b 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f |ick.put |item 1 o|
|00002480| 66 20 74 68 65 20 6d 6f | 75 73 65 4c 6f 63 20 2d |f the mo|useLoc -|
|00002490| 20 69 74 65 6d 20 31 20 | 6f 66 20 70 6f 69 6e 74 | item 1 |of point|
|000024a0| 4f 6e 65 20 69 6e 74 6f | 20 58 0d 70 75 74 20 69 |One into| X.put i|
|000024b0| 74 65 6d 20 32 20 6f 66 | 20 74 68 65 20 6d 6f 75 |tem 2 of| the mou|
|000024c0| 73 65 4c 6f 63 20 2d 20 | 69 74 65 6d 20 32 20 6f |seLoc - |item 2 o|
|000024d0| 66 20 70 6f 69 6e 74 4f | 6e 65 20 69 6e 74 6f 20 |f pointO|ne into |
|000024e0| 59 0d 70 75 74 20 73 71 | 72 74 28 58 2a 58 20 2b |Y.put sq|rt(X*X +|
|000024f0| 20 59 2a 59 29 20 69 6e | 74 6f 20 74 68 65 53 71 | Y*Y) in|to theSq|
|00002500| 75 61 72 65 0d 70 75 74 | 20 28 31 38 30 2f 70 69 |uare.put| (180/pi|
|00002510| 29 2a 28 61 74 61 6e 28 | 59 2f 58 29 29 20 69 6e |)*(atan(|Y/X)) in|
|00002520| 74 6f 20 74 68 65 74 61 | 0d 69 66 20 74 68 65 74 |to theta|.if thet|
|00002530| 61 20 63 6f 6e 74 61 69 | 6e 73 20 22 4e 41 4e 22 |a contai|ns "NAN"|
|00002540| 20 74 68 65 6e 20 70 75 | 74 20 65 6d 70 74 79 20 | then pu|t empty |
|00002550| 69 6e 74 6f 20 74 68 65 | 74 61 0d 70 75 74 20 22 |into the|ta.put "|
|00002560| a5 20 42 29 20 22 26 20 | 74 68 65 20 6d 6f 75 73 |. B) "& |the mous|
|00002570| 65 4c 6f 63 20 26 20 22 | 20 2d 20 41 29 20 22 20 |eLoc & "| - A) " |
|00002580| 26 20 70 6f 69 6e 74 4f | 6e 65 20 26 20 22 20 3d |& pointO|ne & " =|
|00002590| 20 22 c2 0d 26 20 58 20 | 26 20 22 2c 22 20 26 20 | "..& X |& "," & |
|000025a0| 59 20 26 20 22 20 a5 20 | 52 41 44 49 55 53 20 3d |Y & " . |RADIUS =|
|000025b0| 20 22 20 26 20 72 6f 75 | 6e 64 28 74 68 65 53 71 | " & rou|nd(theSq|
|000025c0| 75 61 72 65 29 20 26 20 | c2 0d 22 20 a5 20 41 4e |uare) & |.." . AN|
|000025d0| 47 4c 45 20 3d 20 22 20 | 26 20 72 6f 75 6e 64 28 |GLE = " |& round(|
|000025e0| 74 68 65 74 61 29 20 26 | 20 22 a1 22 0d 65 6e 64 |theta) &| ".".end|
|000025f0| 20 72 65 70 65 61 74 0d | 70 75 74 20 74 68 65 20 | repeat.|put the |
|00002600| 6d 6f 75 73 65 4c 6f 63 | 20 69 6e 74 6f 20 70 6f |mouseLoc| into po|
|00002610| 69 6e 74 54 77 6f 0d 69 | 66 20 74 68 65 20 6f 70 |intTwo.i|f the op|
|00002620| 74 69 6f 6e 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |tionKey |is down |
|00002630| 74 68 65 6e 0d 63 68 6f | 6f 73 65 20 70 65 6e 63 |then.cho|ose penc|
|00002640| 69 6c 20 74 6f 6f 6c 0d | 63 6c 69 63 6b 20 61 74 |il tool.|click at|
|00002650| 20 70 6f 69 6e 74 54 77 | 6f 0d 63 68 6f 6f 73 65 | pointTw|o.choose|
|00002660| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 73 65 74 | browse |tool.set|
|00002670| 20 63 75 72 73 6f 72 20 | 74 6f 20 32 0d 65 6e 64 | cursor |to 2.end|
|00002680| 20 69 66 0d 65 6e 64 20 | 52 75 6c 65 72 0d 0d 2d | if.end |Ruler..-|
|00002690| 2d 2d 2d 2d 2d 2d 2d 2d | 20 52 65 76 65 61 6c 20 |--------| Reveal |
|000026a0| 42 75 74 74 6f 6e 73 20 | 26 20 46 69 65 6c 64 73 |Buttons |& Fields|
|000026b0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 6f 6e 20 52 65 | -------|-..on Re|
|000026c0| 76 65 61 6c 20 54 68 69 | 6e 67 20 2d 2d 20 a5 a5 |veal Thi|ng -- ..|
|000026d0| 0d 67 6c 6f 62 61 6c 20 | 48 69 64 42 75 74 2c 20 |.global |HidBut, |
|000026e0| 48 69 64 42 61 63 6b 42 | 75 74 2c 20 48 69 64 46 |HidBackB|ut, HidF|
|000026f0| 69 65 6c 64 2c 20 48 69 | 64 42 61 63 6b 46 69 65 |ield, Hi|dBackFie|
|00002700| 6c 64 2c c2 0d 74 68 65 | 54 68 69 6e 67 2c 48 69 |ld,..the|Thing,Hi|
|00002710| 64 64 65 6e 49 74 65 6d | 73 2c 20 48 69 64 64 65 |ddenItem|s, Hidde|
|00002720| 6e 53 74 75 66 66 2c 74 | 68 65 61 6e 73 77 65 72 |nStuff,t|heanswer|
|00002730| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002740| 48 69 64 64 65 6e 49 74 | 65 6d 73 20 2d 2d 20 4c |HiddenIt|ems -- L|
|00002750| 69 73 74 20 6f 66 20 68 | 69 64 64 65 6e 20 62 75 |ist of h|idden bu|
|00002760| 74 74 6f 6e 73 20 6f 72 | 20 66 69 65 6c 64 73 0d |ttons or| fields.|
|00002770| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 48 |put empt|y into H|
|00002780| 69 64 64 65 6e 53 74 75 | 66 66 20 2d 2d 20 46 69 |iddenStu|ff -- Fi|
|00002790| 6e 61 6c 20 6c 69 73 74 | 20 6f 66 20 68 69 64 64 |nal list| of hidd|
|000027a0| 65 6e 20 69 74 65 6d 73 | 0d 70 75 74 20 65 6d 70 |en items|.put emp|
|000027b0| 74 79 20 69 6e 74 6f 20 | 48 69 64 42 75 74 20 2d |ty into |HidBut -|
|000027c0| 2d 20 4c 69 73 74 20 6f | 66 20 68 69 64 64 65 6e |- List o|f hidden|
|000027d0| 20 62 75 74 74 6f 6e 73 | 20 66 6f 72 20 4f 62 73 | buttons| for Obs|
|000027e0| 63 75 72 65 20 42 75 74 | 74 6f 6e 73 0d 70 75 74 |cure But|tons.put|
|000027f0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 48 69 64 42 | empty i|nto HidB|
|00002800| 61 63 6b 42 75 74 20 2d | 2d 20 4c 69 73 74 20 6f |ackBut -|- List o|
|00002810| 66 20 68 69 64 64 65 6e | 20 62 6b 67 6e 64 20 62 |f hidden| bkgnd b|
|00002820| 74 6e 73 20 66 6f 72 20 | 73 61 6d 65 0d 70 75 74 |tns for |same.put|
|00002830| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 48 69 64 46 | empty i|nto HidF|
|00002840| 69 65 6c 64 20 2d 2d 20 | 4c 69 73 74 20 6f 66 20 |ield -- |List of |
|00002850| 68 69 64 64 65 6e 20 63 | 64 20 66 6c 64 73 20 66 |hidden c|d flds f|
|00002860| 6f 72 20 4f 62 73 63 75 | 72 65 20 46 69 65 6c 64 |or Obscu|re Field|
|00002870| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|00002880| 20 48 69 64 42 61 63 6b | 46 69 65 6c 64 20 2d 2d | HidBack|Field --|
|00002890| 20 47 75 65 73 73 0d 0d | 0d 69 66 20 74 68 65 20 | Guess..|.if the |
|000028a0| 6f 70 74 69 6f 6e 6b 65 | 79 20 69 73 20 64 6f 77 |optionke|y is dow|
|000028b0| 6e 20 74 68 65 6e 0d 69 | 66 20 74 68 69 6e 67 20 |n then.i|f thing |
|000028c0| 69 73 20 22 66 69 65 6c | 64 73 22 20 74 68 65 6e |is "fiel|ds" then|
|000028d0| 0d 70 75 74 20 22 42 6b | 67 6e 64 20 46 69 65 6c |.put "Bk|gnd Fiel|
|000028e0| 64 2c 43 61 72 64 20 46 | 69 65 6c 64 22 20 69 6e |d,Card F|ield" in|
|000028f0| 74 6f 20 69 74 65 6d 4c | 69 73 74 0d 65 6c 73 65 |to itemL|ist.else|
|00002900| 0d 70 75 74 20 22 42 6b | 67 6e 64 20 42 75 74 74 |.put "Bk|gnd Butt|
|00002910| 6f 6e 2c 43 61 72 64 20 | 42 75 74 74 6f 6e 22 20 |on,Card |Button" |
|00002920| 69 6e 74 6f 20 69 74 65 | 6d 4c 69 73 74 0d 65 6e |into ite|mList.en|
|00002930| 64 20 69 66 0d 64 6f 6c | 69 73 74 20 53 65 6c 65 |d if.dol|ist Sele|
|00002940| 63 74 2c 43 61 6e 63 65 | 6c 2c 69 74 65 6d 4c 69 |ct,Cance|l,itemLi|
|00002950| 73 74 2c 6f 6e 65 0d 70 | 75 74 20 69 74 65 6d 20 |st,one.p|ut item |
|00002960| 32 20 6f 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |2 of the| result |
|00002970| 69 6e 74 6f 20 6f 62 6a | 54 79 70 65 0d 69 66 20 |into obj|Type.if |
|00002980| 6f 62 6a 54 79 70 65 20 | 69 73 20 65 6d 70 74 79 |objType |is empty|
|00002990| 20 74 68 65 6e 20 65 78 | 69 74 20 52 65 76 65 61 | then ex|it Revea|
|000029a0| 6c 0d 70 69 63 6b 4c 69 | 73 74 20 6f 62 6a 54 79 |l.pickLi|st objTy|
|000029b0| 70 65 0d 69 66 20 74 68 | 65 41 6e 73 77 65 72 20 |pe.if th|eAnswer |
|000029c0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|000029d0| 69 74 20 52 65 76 65 61 | 6c 0d 0d 70 75 74 20 71 |it Revea|l..put q|
|000029e0| 75 6f 74 65 20 26 20 74 | 68 65 61 6e 73 77 65 72 |uote & t|heanswer|
|000029f0| 20 26 20 71 75 6f 74 65 | 20 69 6e 74 6f 20 74 68 | & quote| into th|
|00002a00| 65 4f 62 6a 65 63 74 0d | 69 66 20 74 68 65 4f 62 |eObject.|if theOb|
|00002a10| 6a 65 63 74 20 63 6f 6e | 74 61 69 6e 73 20 22 63 |ject con|tains "c|
|00002a20| 61 72 64 20 66 69 65 6c | 64 22 20 74 68 65 6e 0d |ard fiel|d" then.|
|00002a30| 64 65 6c 65 74 65 20 63 | 68 61 72 20 31 20 74 6f |delete c|har 1 to|
|00002a40| 20 31 31 20 6f 66 20 74 | 68 65 4f 62 6a 65 63 74 | 11 of t|heObject|
|00002a50| 0d 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 |.delete |last cha|
|00002a60| 72 20 6f 66 20 74 68 65 | 4f 62 6a 65 63 74 0d 65 |r of the|Object.e|
|00002a70| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 4f 62 6a 65 |nd if.if| theObje|
|00002a80| 63 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 62 6b 67 |ct conta|ins "bkg|
|00002a90| 6e 64 20 66 69 65 6c 64 | 22 20 74 68 65 6e 0d 64 |nd field|" then.d|
|00002aa0| 65 6c 65 74 65 20 63 68 | 61 72 20 31 20 74 6f 20 |elete ch|ar 1 to |
|00002ab0| 31 32 20 6f 66 20 74 68 | 65 4f 62 6a 65 63 74 0d |12 of th|eObject.|
|00002ac0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|00002ad0| 20 6f 66 20 74 68 65 4f | 62 6a 65 63 74 0d 65 6e | of theO|bject.en|
|00002ae0| 64 20 69 66 0d 69 66 20 | 74 68 65 4f 62 6a 65 63 |d if.if |theObjec|
|00002af0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 63 61 72 64 |t contai|ns "card|
|00002b00| 20 62 75 74 74 6f 6e 22 | 20 74 68 65 6e 0d 64 65 | button"| then.de|
|00002b10| 6c 65 74 65 20 63 68 61 | 72 20 31 20 74 6f 20 31 |lete cha|r 1 to 1|
|00002b20| 32 20 6f 66 20 74 68 65 | 4f 62 6a 65 63 74 0d 64 |2 of the|Object.d|
|00002b30| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00002b40| 6f 66 20 74 68 65 4f 62 | 6a 65 63 74 0d 65 6e 64 |of theOb|ject.end|
|00002b50| 20 69 66 0d 69 66 20 74 | 68 65 4f 62 6a 65 63 74 | if.if t|heObject|
|00002b60| 20 63 6f 6e 74 61 69 6e | 73 20 22 62 6b 67 6e 64 | contain|s "bkgnd|
|00002b70| 20 62 75 74 74 6f 6e 22 | 20 74 68 65 6e 0d 64 65 | button"| then.de|
|00002b80| 6c 65 74 65 20 63 68 61 | 72 20 31 20 74 6f 20 31 |lete cha|r 1 to 1|
|00002b90| 33 20 6f 66 20 74 68 65 | 4f 62 6a 65 63 74 0d 64 |3 of the|Object.d|
|00002ba0| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00002bb0| 6f 66 20 74 68 65 4f 62 | 6a 65 63 74 0d 65 6e 64 |of theOb|ject.end|
|00002bc0| 20 69 66 0d 64 6f 20 22 | 70 75 74 20 74 68 65 20 | if.do "|put the |
|00002bd0| 76 69 73 69 62 6c 65 20 | 6f 66 20 22 20 26 20 6f |visible |of " & o|
|00002be0| 62 6a 54 79 70 65 20 26 | 26 20 74 68 65 4f 62 6a |bjType &|& theObj|
|00002bf0| 65 63 74 20 26 26 20 22 | 69 6e 74 6f 20 69 74 22 |ect && "|into it"|
|00002c00| 0d 69 66 20 69 74 20 69 | 73 20 74 72 75 65 20 74 |.if it i|s true t|
|00002c10| 68 65 6e 0d 61 6e 73 77 | 65 72 20 6f 62 6a 54 79 |hen.answ|er objTy|
|00002c20| 70 65 20 26 26 20 74 68 | 65 4f 62 6a 65 63 74 20 |pe && th|eObject |
|00002c30| 26 26 20 22 69 73 20 61 | 6c 72 65 61 64 79 20 76 |&& "is a|lready v|
|00002c40| 69 73 69 62 6c 65 2e 22 | 20 77 69 74 68 20 c2 0d |isible."| with ..|
|00002c50| 22 49 20 6b 6e 65 77 20 | 74 68 61 74 22 20 6f 72 |"I knew |that" or|
|00002c60| 20 22 4f 4b 22 0d 65 6e | 64 20 69 66 0d 0d 64 6f | "OK".en|d if..do|
|00002c70| 20 22 73 68 6f 77 22 20 | 26 26 20 6f 62 6a 54 79 | "show" |&& objTy|
|00002c80| 70 65 20 26 26 20 74 68 | 65 4f 62 6a 65 63 74 0d |pe && th|eObject.|
|00002c90| 65 78 69 74 20 52 65 76 | 65 61 6c 0d 65 6e 64 20 |exit Rev|eal.end |
|00002ca0| 69 66 0d 69 66 20 74 68 | 69 6e 67 20 69 73 20 22 |if.if th|ing is "|
|00002cb0| 62 75 74 74 6f 6e 73 22 | 20 74 68 65 6e 0d 0d 2d |buttons"| then..-|
|00002cc0| 2d 2d 2d 2d 20 43 61 72 | 64 20 42 75 74 74 6f 6e |---- Car|d Button|
|00002cd0| 73 20 2d 2d 2d 2d 2d 0d | 70 75 74 20 22 63 64 20 |s -----.|put "cd |
|00002ce0| 62 74 6e 28 73 29 22 20 | 69 6e 74 6f 20 74 68 65 |btn(s)" |into the|
|00002cf0| 54 68 69 6e 67 0d 70 75 | 74 20 74 68 65 20 6e 75 |Thing.pu|t the nu|
|00002d00| 6d 62 65 72 20 6f 66 20 | 63 64 20 62 74 6e 73 20 |mber of |cd btns |
|00002d10| 69 6e 74 6f 20 4d 61 78 | 43 61 72 64 54 68 69 6e |into Max|CardThin|
|00002d20| 67 73 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 4e |gs.repea|t with N|
|00002d30| 20 3d 20 31 20 74 6f 20 | 4d 61 78 43 61 72 64 54 | = 1 to |MaxCardT|
|00002d40| 68 69 6e 67 73 0d 69 66 | 20 74 68 65 20 76 69 73 |hings.if| the vis|
|00002d50| 69 62 6c 65 20 6f 66 20 | 63 64 20 62 74 6e 20 4e |ible of |cd btn N|
|00002d60| 20 69 73 20 66 61 6c 73 | 65 20 74 68 65 6e 0d 70 | is fals|e then.p|
|00002d70| 75 74 20 4e 20 26 20 22 | 2c 22 20 61 66 74 65 72 |ut N & "|," after|
|00002d80| 20 48 69 64 64 65 6e 49 | 74 65 6d 73 0d 73 68 6f | HiddenI|tems.sho|
|00002d90| 77 20 63 64 20 62 74 6e | 20 4e 0d 65 6e 64 20 69 |w cd btn| N.end i|
|00002da0| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 69 66 20 |f.end re|peat.if |
|00002db0| 48 69 64 64 65 6e 49 74 | 65 6d 73 20 69 73 20 6e |HiddenIt|ems is n|
|00002dc0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 68 69 |ot empty| then.hi|
|00002dd0| 64 65 49 74 0d 70 75 74 | 20 48 49 64 64 65 6e 49 |deIt.put| HIddenI|
|00002de0| 74 65 6d 73 20 69 6e 74 | 6f 20 48 69 64 42 75 74 |tems int|o HidBut|
|00002df0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002e00| 48 69 64 64 65 6e 49 74 | 65 6d 73 0d 65 6e 64 20 |HiddenIt|ems.end |
|00002e10| 69 66 0d 2d 2d 2d 2d 2d | 20 42 6b 67 6e 64 20 42 |if.-----| Bkgnd B|
|00002e20| 75 74 74 6f 6e 73 20 2d | 2d 2d 2d 2d 0d 70 75 74 |uttons -|----.put|
|00002e30| 20 22 62 67 20 62 74 6e | 28 73 29 22 20 69 6e 74 | "bg btn|(s)" int|
|00002e40| 6f 20 74 68 65 54 68 69 | 6e 67 0d 70 75 74 20 74 |o theThi|ng.put t|
|00002e50| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 67 20 |he numbe|r of bg |
|00002e60| 62 74 6e 73 20 69 6e 74 | 6f 20 4d 61 78 43 61 72 |btns int|o MaxCar|
|00002e70| 64 54 68 69 6e 67 73 0d | 72 65 70 65 61 74 20 77 |dThings.|repeat w|
|00002e80| 69 74 68 20 4e 20 3d 20 | 31 20 74 6f 20 4d 61 78 |ith N = |1 to Max|
|00002e90| 43 61 72 64 54 68 69 6e | 67 73 0d 69 66 20 74 68 |CardThin|gs.if th|
|00002ea0| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 67 20 |e visibl|e of bg |
|00002eb0| 62 74 6e 20 4e 20 69 73 | 20 66 61 6c 73 65 20 74 |btn N is| false t|
|00002ec0| 68 65 6e 0d 70 75 74 20 | 4e 20 26 20 22 2c 22 20 |hen.put |N & "," |
|00002ed0| 61 66 74 65 72 20 48 69 | 64 64 65 6e 49 74 65 6d |after Hi|ddenItem|
|00002ee0| 73 0d 73 68 6f 77 20 62 | 67 20 62 74 6e 20 4e 0d |s.show b|g btn N.|
|00002ef0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00002f00| 74 0d 69 66 20 48 69 64 | 64 65 6e 49 74 65 6d 73 |t.if Hid|denItems|
|00002f10| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002f20| 65 6e 0d 68 69 64 65 49 | 74 0d 70 75 74 20 48 49 |en.hideI|t.put HI|
|00002f30| 64 64 65 6e 49 74 65 6d | 73 20 69 6e 74 6f 20 48 |ddenItem|s into H|
|00002f40| 69 64 42 61 63 6b 42 75 | 74 0d 65 6e 64 20 69 66 |idBackBu|t.end if|
|00002f50| 0d 65 6c 73 65 0d 2d 2d | 2d 2d 2d 20 43 61 72 64 |.else.--|--- Card|
|00002f60| 20 46 69 65 6c 64 73 20 | 2d 2d 2d 2d 2d 0d 69 66 | Fields |-----.if|
|00002f70| 20 74 68 69 6e 67 20 69 | 73 20 22 66 69 65 6c 64 | thing i|s "field|
|00002f80| 73 22 20 74 68 65 6e 0d | 70 75 74 20 65 6d 70 74 |s" then.|put empt|
|00002f90| 79 20 69 6e 74 6f 20 48 | 69 64 64 65 6e 49 74 65 |y into H|iddenIte|
|00002fa0| 6d 73 0d 70 75 74 20 22 | 63 64 20 66 6c 64 28 73 |ms.put "|cd fld(s|
|00002fb0| 29 22 20 69 6e 74 6f 20 | 74 68 65 54 68 69 6e 67 |)" into |theThing|
|00002fc0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00002fd0| 6f 66 20 63 64 20 66 6c | 64 73 20 69 6e 74 6f 20 |of cd fl|ds into |
|00002fe0| 4d 61 78 43 61 72 64 54 | 68 69 6e 67 73 0d 72 65 |MaxCardT|hings.re|
|00002ff0| 70 65 61 74 20 77 69 74 | 68 20 4e 20 3d 20 31 20 |peat wit|h N = 1 |
|00003000| 74 6f 20 4d 61 78 43 61 | 72 64 54 68 69 6e 67 73 |to MaxCa|rdThings|
|00003010| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|00003020| 6f 66 20 63 64 20 66 6c | 64 20 4e 20 69 73 20 66 |of cd fl|d N is f|
|00003030| 61 6c 73 65 20 74 68 65 | 6e 0d 70 75 74 20 4e 20 |alse the|n.put N |
|00003040| 26 20 22 2c 22 20 61 66 | 74 65 72 20 48 69 64 64 |& "," af|ter Hidd|
|00003050| 65 6e 49 74 65 6d 73 0d | 73 68 6f 77 20 63 64 20 |enItems.|show cd |
|00003060| 66 6c 64 20 4e 0d 65 6e | 64 20 69 66 0d 65 6e 64 |fld N.en|d if.end|
|00003070| 20 72 65 70 65 61 74 0d | 69 66 20 48 69 64 64 65 | repeat.|if Hidde|
|00003080| 6e 49 74 65 6d 73 20 69 | 73 20 6e 6f 74 20 65 6d |nItems i|s not em|
|00003090| 70 74 79 20 74 68 65 6e | 0d 68 69 64 65 49 74 0d |pty then|.hideIt.|
|000030a0| 70 75 74 20 48 49 64 64 | 65 6e 49 74 65 6d 73 20 |put HIdd|enItems |
|000030b0| 69 6e 74 6f 20 48 69 64 | 46 69 65 6c 64 0d 70 75 |into Hid|Field.pu|
|000030c0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 48 69 64 |t empty |into Hid|
|000030d0| 64 65 6e 49 74 65 6d 73 | 0d 65 6e 64 20 69 66 0d |denItems|.end if.|
|000030e0| 0d 2d 2d 2d 2d 2d 20 42 | 6b 67 6e 64 20 46 69 65 |.----- B|kgnd Fie|
|000030f0| 6c 64 73 20 2d 2d 2d 2d | 2d 0d 70 75 74 20 22 62 |lds ----|-.put "b|
|00003100| 67 20 66 6c 64 28 73 29 | 22 20 69 6e 74 6f 20 74 |g fld(s)|" into t|
|00003110| 68 65 54 68 69 6e 67 0d | 70 75 74 20 74 68 65 20 |heThing.|put the |
|00003120| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 20 66 6c 64 |number o|f bg fld|
|00003130| 73 20 69 6e 74 6f 20 4d | 61 78 43 61 72 64 54 68 |s into M|axCardTh|
|00003140| 69 6e 67 73 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ings.rep|eat with|
|00003150| 20 4e 20 3d 20 31 20 74 | 6f 20 4d 61 78 43 61 72 | N = 1 t|o MaxCar|
|00003160| 64 54 68 69 6e 67 73 0d | 69 66 20 74 68 65 20 76 |dThings.|if the v|
|00003170| 69 73 69 62 6c 65 20 6f | 66 20 62 67 20 66 6c 64 |isible o|f bg fld|
|00003180| 20 4e 20 69 73 20 66 61 | 6c 73 65 20 74 68 65 6e | N is fa|lse then|
|00003190| 0d 70 75 74 20 4e 20 26 | 20 22 2c 22 20 61 66 74 |.put N &| "," aft|
|000031a0| 65 72 20 48 69 64 64 65 | 6e 49 74 65 6d 73 0d 73 |er Hidde|nItems.s|
|000031b0| 68 6f 77 20 62 67 20 66 | 6c 64 20 4e 0d 65 6e 64 |how bg f|ld N.end|
|000031c0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 | if.end |repeat.i|
|000031d0| 66 20 48 69 64 64 65 6e | 49 74 65 6d 73 20 69 73 |f Hidden|Items is|
|000031e0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|000031f0| 68 69 64 65 49 74 0d 70 | 75 74 20 48 69 64 64 65 |hideIt.p|ut Hidde|
|00003200| 6e 49 74 65 6d 73 20 69 | 6e 74 6f 20 48 69 64 42 |nItems i|nto HidB|
|00003210| 61 63 6b 46 69 65 6c 64 | 0d 65 6e 64 20 69 66 0d |ackField|.end if.|
|00003220| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 69 66 |end if.e|nd if.if|
|00003230| 20 48 69 64 64 65 6e 53 | 74 75 66 66 20 69 73 20 | HiddenS|tuff is |
|00003240| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 22 |empty th|en.put "|
|00003250| 4e 6f 20 68 69 64 64 65 | 6e 20 22 20 26 20 74 68 |No hidde|n " & th|
|00003260| 69 6e 67 20 26 20 22 20 | 69 6e 20 74 68 69 73 20 |ing & " |in this |
|00003270| 63 61 72 64 20 6f 72 20 | 62 61 63 6b 67 72 6f 75 |card or |backgrou|
|00003280| 6e 64 2e 22 0d 65 6c 73 | 65 0d 2d 2d 70 75 74 20 |nd.".els|e.--put |
|00003290| 22 48 69 64 64 65 6e 22 | 20 62 65 66 6f 72 65 20 |"Hidden"| before |
|000032a0| 48 69 64 64 65 6e 53 74 | 75 66 66 0d 70 75 74 20 |HiddenSt|uff.put |
|000032b0| 48 69 64 64 65 6e 53 74 | 75 66 66 0d 65 6e 64 20 |HiddenSt|uff.end |
|000032c0| 69 66 0d 65 6e 64 20 52 | 65 76 65 61 6c 0d 0d 6f |if.end R|eveal..o|
|000032d0| 6e 20 68 69 64 65 49 74 | 20 2d 2d 20 a5 a5 20 55 |n hideIt| -- .. U|
|000032e0| 73 65 64 20 62 79 20 52 | 65 76 65 61 6c 0d 67 6c |sed by R|eveal.gl|
|000032f0| 6f 62 61 6c 20 74 68 65 | 54 68 69 6e 67 2c 20 48 |obal the|Thing, H|
|00003300| 69 64 64 65 6e 49 74 65 | 6d 73 2c 20 48 69 64 64 |iddenIte|ms, Hidd|
|00003310| 65 6e 53 74 75 66 66 0d | 70 75 74 20 22 20 3a 20 |enStuff.|put " : |
|00003320| 22 20 26 20 74 68 65 54 | 68 69 6e 67 20 26 20 22 |" & theT|hing & "|
|00003330| 3a 20 22 20 26 20 48 69 | 64 64 65 6e 49 74 65 6d |: " & Hi|ddenItem|
|00003340| 73 20 61 66 74 65 72 20 | 48 69 64 64 65 6e 53 74 |s after |HiddenSt|
|00003350| 75 66 66 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |uff.dele|te last |
|00003360| 63 68 61 72 20 6f 66 20 | 48 69 64 64 65 6e 53 74 |char of |HiddenSt|
|00003370| 75 66 66 0d 65 6e 64 20 | 68 69 64 65 49 74 0d 0d |uff.end |hideIt..|
|00003380| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 4f 62 73 63 |--------|--- Obsc|
|00003390| 75 72 65 20 42 75 74 74 | 6f 6e 73 20 26 20 46 69 |ure Butt|ons & Fi|
|000033a0| 65 6c 64 73 20 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0d 6f |elds ---|-----..o|
|000033b0| 6e 20 4f 62 73 63 75 72 | 65 20 54 68 69 6e 67 20 |n Obscur|e Thing |
|000033c0| 2d 2d 20 a5 a5 20 48 69 | 64 65 73 20 6f 62 6a 65 |-- .. Hi|des obje|
|000033d0| 63 74 73 20 72 65 76 65 | 61 6c 65 64 20 62 79 20 |cts reve|aled by |
|000033e0| 52 65 76 65 61 6c 0d 67 | 6c 6f 62 61 6c 20 48 69 |Reveal.g|lobal Hi|
|000033f0| 64 42 75 74 2c 20 48 69 | 64 42 61 63 6b 42 75 74 |dBut, Hi|dBackBut|
|00003400| 2c 20 48 69 64 46 69 65 | 6c 64 2c 20 48 69 64 42 |, HidFie|ld, HidB|
|00003410| 61 63 6b 46 69 65 6c 64 | 0d 69 66 20 74 68 69 6e |ackField|.if thin|
|00003420| 67 20 69 73 20 22 62 75 | 74 74 6f 6e 73 22 20 74 |g is "bu|ttons" t|
|00003430| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |hen.put |the numb|
|00003440| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 48 |er of it|ems in H|
|00003450| 69 64 42 75 74 20 69 6e | 74 6f 20 42 75 74 43 6f |idBut in|to ButCo|
|00003460| 75 6e 74 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |unt.repe|at with |
|00003470| 4e 20 3d 20 31 20 74 6f | 20 42 75 74 63 6f 75 6e |N = 1 to| Butcoun|
|00003480| 74 0d 70 75 74 20 69 74 | 65 6d 20 4e 20 6f 66 20 |t.put it|em N of |
|00003490| 48 69 64 42 75 74 20 69 | 6e 74 6f 20 6e 75 6d 62 |HidBut i|nto numb|
|000034a0| 0d 69 66 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |.if last| char of|
|000034b0| 20 6e 75 6d 62 20 69 73 | 20 22 2c 22 20 74 68 65 | numb is| "," the|
|000034c0| 6e 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n.put em|pty into|
|000034d0| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 6e 75 | last ch|ar of nu|
|000034e0| 6d 62 0d 65 6e 64 20 69 | 66 0d 68 69 64 65 20 63 |mb.end i|f.hide c|
|000034f0| 64 20 62 74 6e 20 6e 75 | 6d 62 0d 65 6e 64 20 72 |d btn nu|mb.end r|
|00003500| 65 70 65 61 74 0d 70 75 | 74 20 74 68 65 20 6e 75 |epeat.pu|t the nu|
|00003510| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|00003520| 20 48 69 64 42 61 63 6b | 42 75 74 20 69 6e 74 6f | HidBack|But into|
|00003530| 20 42 75 74 43 6f 75 6e | 74 0d 72 65 70 65 61 74 | ButCoun|t.repeat|
|00003540| 20 77 69 74 68 20 4e 20 | 3d 20 31 20 74 6f 20 42 | with N |= 1 to B|
|00003550| 75 74 43 6f 75 6e 74 0d | 70 75 74 20 69 74 65 6d |utCount.|put item|
|00003560| 20 4e 20 6f 66 20 48 69 | 64 42 61 63 6b 42 75 74 | N of Hi|dBackBut|
|00003570| 20 69 6e 74 6f 20 6e 75 | 6d 62 0d 69 66 20 6c 61 | into nu|mb.if la|
|00003580| 73 74 20 63 68 61 72 20 | 6f 66 20 6e 75 6d 62 20 |st char |of numb |
|00003590| 69 73 20 22 2c 22 20 74 | 68 65 6e 0d 70 75 74 20 |is "," t|hen.put |
|000035a0| 65 6d 70 74 79 20 69 6e | 74 6f 20 6c 61 73 74 20 |empty in|to last |
|000035b0| 63 68 61 72 20 6f 66 20 | 6e 75 6d 62 0d 65 6e 64 |char of |numb.end|
|000035c0| 20 69 66 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 | if.set |cursor t|
|000035d0| 6f 20 62 75 73 79 0d 68 | 69 64 65 20 62 67 20 62 |o busy.h|ide bg b|
|000035e0| 74 6e 20 6e 75 6d 62 0d | 65 6e 64 20 72 65 70 65 |tn numb.|end repe|
|000035f0| 61 74 0d 65 6c 73 65 0d | 70 75 74 20 74 68 65 20 |at.else.|put the |
|00003600| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00003610| 69 6e 20 48 69 64 46 69 | 65 6c 64 20 69 6e 74 6f |in HidFi|eld into|
|00003620| 20 46 69 65 6c 64 43 6f | 75 6e 74 0d 72 65 70 65 | FieldCo|unt.repe|
|00003630| 61 74 20 77 69 74 68 20 | 4e 20 3d 20 31 20 74 6f |at with |N = 1 to|
|00003640| 20 46 69 65 6c 64 43 6f | 75 6e 74 0d 70 75 74 20 | FieldCo|unt.put |
|00003650| 69 74 65 6d 20 4e 20 6f | 66 20 48 69 64 46 69 65 |item N o|f HidFie|
|00003660| 6c 64 20 69 6e 74 6f 20 | 6e 75 6d 62 0d 69 66 20 |ld into |numb.if |
|00003670| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 6e 75 6d |last cha|r of num|
|00003680| 62 20 69 73 20 22 2c 22 | 20 74 68 65 6e 0d 70 75 |b is ","| then.pu|
|00003690| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6c 61 73 |t empty |into las|
|000036a0| 74 20 63 68 61 72 20 6f | 66 20 6e 75 6d 62 0d 65 |t char o|f numb.e|
|000036b0| 6e 64 20 69 66 0d 73 65 | 74 20 63 75 72 73 6f 72 |nd if.se|t cursor|
|000036c0| 20 74 6f 20 62 75 73 79 | 0d 68 69 64 65 20 63 64 | to busy|.hide cd|
|000036d0| 20 66 6c 64 20 6e 75 6d | 62 0d 65 6e 64 20 72 65 | fld num|b.end re|
|000036e0| 70 65 61 74 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |peat.put| the num|
|000036f0| 62 65 72 20 6f 66 20 69 | 74 65 6d 73 20 69 6e 20 |ber of i|tems in |
|00003700| 48 69 64 42 61 63 6b 46 | 69 65 6c 64 20 69 6e 74 |HidBackF|ield int|
|00003710| 6f 20 46 69 65 6c 64 43 | 6f 75 6e 74 0d 72 65 70 |o FieldC|ount.rep|
|00003720| 65 61 74 20 77 69 74 68 | 20 4e 20 3d 20 31 20 74 |eat with| N = 1 t|
|00003730| 6f 20 46 69 65 6c 64 43 | 6f 75 6e 74 0d 70 75 74 |o FieldC|ount.put|
|00003740| 20 69 74 65 6d 20 4e 20 | 6f 66 20 48 69 64 42 61 | item N |of HidBa|
|00003750| 63 6b 46 69 65 6c 64 20 | 69 6e 74 6f 20 6e 75 6d |ckField |into num|
|00003760| 62 0d 69 66 20 6c 61 73 | 74 20 63 68 61 72 20 6f |b.if las|t char o|
|00003770| 66 20 6e 75 6d 62 20 69 | 73 20 22 2c 22 20 74 68 |f numb i|s "," th|
|00003780| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |en.delet|e last c|
|00003790| 68 61 72 20 6f 66 20 6e | 75 6d 62 0d 65 6e 64 20 |har of n|umb.end |
|000037a0| 69 66 0d 68 69 64 65 20 | 62 67 20 66 6c 64 20 6e |if.hide |bg fld n|
|000037b0| 75 6d 62 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |umb.end |repeat.e|
|000037c0| 6e 64 20 69 66 0d 65 6e | 64 20 4f 62 73 63 75 72 |nd if.en|d Obscur|
|000037d0| 65 0d 0d 0d 6f 6e 20 73 | 65 6e 64 4f 62 6a 65 63 |e...on s|endObjec|
|000037e0| 74 20 2d 2d 20 a5 a5 20 | 53 65 6e 64 73 2f 62 72 |t -- .. |Sends/br|
|000037f0| 69 6e 67 73 20 62 75 74 | 74 6f 6e 73 20 6f 72 20 |ings but|tons or |
|00003800| 66 69 65 6c 64 73 0d 67 | 6c 6f 62 61 6c 20 74 68 |fields.g|lobal th|
|00003810| 65 44 65 73 74 2c 50 72 | 6f 67 72 65 73 73 50 6f |eDest,Pr|ogressPo|
|00003820| 69 6e 74 65 72 2c 52 65 | 6d 6f 76 65 50 72 6f 67 |inter,Re|moveProg|
|00003830| 72 65 73 73 0d 70 75 74 | 20 74 68 65 20 74 6f 6f |ress.put| the too|
|00003840| 6c 20 69 6e 74 6f 20 74 | 68 65 54 6f 6f 6c 0d 70 |l into t|heTool.p|
|00003850| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 73 68 |ut false| into sh|
|00003860| 6f 77 50 72 6f 67 72 65 | 73 73 0d 69 66 20 74 68 |owProgre|ss.if th|
|00003870| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00003880| 74 68 69 73 20 63 61 72 | 64 20 69 73 20 22 54 6f |this car|d is "To|
|00003890| 6f 6c 73 22 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |ols" the|n.answer|
|000038a0| 20 22 50 6c 65 61 73 65 | 20 64 6f 6e 27 74 20 65 | "Please| don't e|
|000038b0| 78 70 65 72 69 6d 65 6e | 74 20 77 69 74 68 20 73 |xperimen|t with s|
|000038c0| 65 6e 64 4f 62 6a 65 63 | 74 20 6f 6e 20 74 68 65 |endObjec|t on the|
|000038d0| 20 54 6f 6f 6c 73 20 63 | 61 72 64 2e 22 20 c2 0d | Tools c|ard." ..|
|000038e0| 77 69 74 68 20 22 54 72 | 6f 75 62 6c 65 22 20 6f |with "Tr|ouble" o|
|000038f0| 72 20 22 4f 4b 22 0d 69 | 66 20 69 74 20 69 73 20 |r "OK".i|f it is |
|00003900| 22 4f 4b 22 20 74 68 65 | 6e 20 65 78 69 74 20 73 |"OK" the|n exit s|
|00003910| 65 6e 64 4f 62 6a 65 63 | 74 0d 65 6e 64 20 69 66 |endObjec|t.end if|
|00003920| 0d 73 68 6f 77 64 69 61 | 6c 6f 67 20 31 2c 31 30 |.showdia|log 1,10|
|00003930| 30 31 2c c2 0d 22 43 68 | 6f 6f 73 65 20 74 68 65 |01,.."Ch|oose the|
|00003940| 20 74 79 70 65 20 6f 66 | 20 66 69 65 6c 64 20 6f | type of| field o|
|00003950| 72 20 62 75 74 74 6f 6e | 20 74 6f 20 62 65 20 62 |r button| to be b|
|00003960| 72 6f 75 67 68 74 2f 73 | 65 6e 74 2e 22 2c 31 0d |rought/s|ent.",1.|
|00003970| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00003980| 20 22 31 22 20 74 68 65 | 6e 20 65 78 69 74 20 73 | "1" the|n exit s|
|00003990| 65 6e 64 4f 62 6a 65 63 | 74 0d 69 66 20 74 68 65 |endObjec|t.if the|
|000039a0| 20 72 65 73 75 6c 74 20 | 69 73 20 22 32 22 20 74 | result |is "2" t|
|000039b0| 68 65 6e 20 70 75 74 20 | 22 42 6b 67 6e 64 20 46 |hen put |"Bkgnd F|
|000039c0| 69 65 6c 64 22 20 69 6e | 74 6f 20 74 68 65 4f 62 |ield" in|to theOb|
|000039d0| 6a 65 63 74 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ject.if |the resu|
|000039e0| 6c 74 20 69 73 20 22 33 | 22 20 74 68 65 6e 20 70 |lt is "3|" then p|
|000039f0| 75 74 20 22 43 61 72 64 | 20 46 69 65 6c 64 22 20 |ut "Card| Field" |
|00003a00| 69 6e 74 6f 20 74 68 65 | 4f 62 6a 65 63 74 0d 69 |into the|Object.i|
|00003a10| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00003a20| 22 34 22 20 74 68 65 6e | 20 70 75 74 20 22 42 6b |"4" then| put "Bk|
|00003a30| 67 6e 64 20 42 75 74 74 | 6f 6e 22 20 69 6e 74 6f |gnd Butt|on" into|
|00003a40| 20 74 68 65 4f 62 6a 65 | 63 74 0d 69 66 20 74 68 | theObje|ct.if th|
|00003a50| 65 20 72 65 73 75 6c 74 | 20 69 73 20 22 35 22 20 |e result| is "5" |
|00003a60| 74 68 65 6e 20 70 75 74 | 20 22 43 61 72 64 20 42 |then put| "Card B|
|00003a70| 75 74 74 6f 6e 22 20 69 | 6e 74 6f 20 74 68 65 4f |utton" i|nto theO|
|00003a80| 62 6a 65 63 74 0d 0d 73 | 74 6f 70 4d 65 6e 75 53 |bject..s|topMenuS|
|00003a90| 70 65 61 6b 0d 70 75 74 | 20 6c 61 73 74 20 77 6f |peak.put| last wo|
|00003aa0| 72 64 20 6f 66 20 74 68 | 65 4f 62 6a 65 63 74 20 |rd of th|eObject |
|00003ab0| 69 6e 74 6f 20 6f 62 6a | 54 79 70 65 0d 64 6f 20 |into obj|Type.do |
|00003ac0| 22 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |"put the| number |
|00003ad0| 6f 66 22 20 26 26 20 74 | 68 65 4f 62 6a 65 63 74 |of" && t|heObject|
|00003ae0| 20 26 20 22 73 22 20 26 | 26 20 22 69 6e 74 6f 20 | & "s" &|& "into |
|00003af0| 6d 61 78 4f 62 6a 4e 6f | 22 0d 69 66 20 6d 61 78 |maxObjNo|".if max|
|00003b00| 4f 62 6a 4e 6f 20 69 73 | 20 22 30 22 20 74 68 65 |ObjNo is| "0" the|
|00003b10| 6e 20 2d 2d 20 6e 6f 6e | 65 20 6f 66 20 74 68 65 |n -- non|e of the|
|00003b20| 20 74 79 70 65 20 73 70 | 65 63 69 66 69 65 64 0d | type sp|ecified.|
|00003b30| 61 6e 73 77 65 72 20 22 | 54 68 65 72 65 20 61 72 |answer "|There ar|
|00003b40| 65 20 6e 6f 22 20 26 26 | 20 74 68 65 4f 62 6a 65 |e no" &&| theObje|
|00003b50| 63 74 20 26 20 22 73 22 | 20 26 26 20 22 68 65 72 |ct & "s"| && "her|
|00003b60| 65 2e 22 0d 65 78 69 74 | 20 73 65 6e 64 4f 62 6a |e.".exit| sendObj|
|00003b70| 65 63 74 0d 65 6e 64 20 | 69 66 0d 0d 70 75 74 20 |ect.end |if..put |
|00003b80| 22 31 22 20 69 6e 74 6f | 20 74 68 65 44 65 73 74 |"1" into| theDest|
|00003b90| 0d 72 65 70 65 61 74 20 | 66 6f 72 65 76 65 72 0d |.repeat |forever.|
|00003ba0| 70 75 74 20 22 53 65 6e | 64 22 20 26 26 20 74 68 |put "Sen|d" && th|
|00003bb0| 65 4f 62 6a 65 63 74 20 | 26 20 22 3a 22 20 69 6e |eObject |& ":" in|
|00003bc0| 74 6f 20 66 72 73 74 50 | 72 6f 6d 74 0d 70 75 74 |to frstP|romt.put|
|00003bd0| 20 22 74 6f 22 20 26 26 | 20 74 68 65 4f 62 6a 65 | "to" &&| theObje|
|00003be0| 63 74 20 26 20 22 3a 22 | 20 69 6e 74 6f 20 73 63 |ct & ":"| into sc|
|00003bf0| 6e 64 50 72 6f 6d 74 0d | 73 68 6f 77 44 69 61 6c |ndPromt.|showDial|
|00003c00| 6f 67 20 32 2c 31 32 39 | 38 2c 66 72 73 74 50 72 |og 2,129|8,frstPr|
|00003c10| 6f 6d 74 2c 73 63 6e 64 | 50 72 6f 6d 74 2c 53 65 |omt,scnd|Promt,Se|
|00003c20| 6e 64 4f 62 6a 65 63 74 | 2c 6d 61 78 4f 62 6a 4e |ndObject|,maxObjN|
|00003c30| 6f 0d 70 75 74 20 74 68 | 65 20 72 65 73 75 6c 74 |o.put th|e result|
|00003c40| 20 69 6e 74 6f 20 74 68 | 65 41 6e 73 77 65 72 0d | into th|eAnswer.|
|00003c50| 69 66 20 74 68 65 41 6e | 73 77 65 72 20 69 73 20 |if theAn|swer is |
|00003c60| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00003c70| 73 65 6e 64 4f 62 6a 65 | 63 74 20 2d 2d 20 63 61 |sendObje|ct -- ca|
|00003c80| 6e 63 65 6c 65 64 0d 2d | 2d 20 63 68 65 63 6b 20 |nceled.-|- check |
|00003c90| 66 6f 72 20 69 6c 6c 65 | 67 61 6c 20 65 6e 74 72 |for ille|gal entr|
|00003ca0| 69 65 73 0d 69 66 20 69 | 74 65 6d 20 31 20 6f 66 |ies.if i|tem 1 of|
|00003cb0| 20 74 68 65 41 6e 73 77 | 65 72 20 3e 20 6d 61 78 | theAnsw|er > max|
|00003cc0| 4f 62 6a 4e 6f 20 c2 0d | 6f 72 20 69 74 65 6d 20 |ObjNo ..|or item |
|00003cd0| 32 20 6f 66 20 74 68 65 | 41 6e 73 77 65 72 20 3e |2 of the|Answer >|
|00003ce0| 20 6d 61 78 4f 62 6a 4e | 6f 20 74 68 65 6e 0d 61 | maxObjN|o then.a|
|00003cf0| 6e 73 77 65 72 20 22 4f | 75 74 73 69 64 65 20 61 |nswer "O|utside a|
|00003d00| 76 61 69 6c 61 62 6c 65 | 20 72 61 6e 67 65 20 6f |vailable| range o|
|00003d10| 66 20 6f 62 6a 65 63 74 | 73 2e 22 0d 6e 65 78 74 |f object|s.".next|
|00003d20| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 69 | repeat.|end if.i|
|00003d30| 66 20 69 74 65 6d 20 31 | 20 6f 66 20 74 68 65 41 |f item 1| of theA|
|00003d40| 6e 73 77 65 72 20 69 73 | 20 65 6d 70 74 79 20 c2 |nswer is| empty .|
|00003d50| 0d 6f 72 20 69 74 65 6d | 20 32 20 6f 66 20 74 68 |.or item| 2 of th|
|00003d60| 65 41 6e 73 77 65 72 20 | 69 73 20 65 6d 70 74 79 |eAnswer |is empty|
|00003d70| 20 74 68 65 6e 20 6e 65 | 78 74 20 72 65 70 65 61 | then ne|xt repea|
|00003d80| 74 0d 69 66 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |t.if ite|m 1 of t|
|00003d90| 68 65 41 6e 73 77 65 72 | 20 69 73 20 22 30 22 20 |heAnswer| is "0" |
|00003da0| c2 0d 6f 72 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |..or ite|m 2 of t|
|00003db0| 68 65 41 6e 73 77 65 72 | 20 69 73 20 22 30 22 20 |heAnswer| is "0" |
|00003dc0| 74 68 65 6e 20 6e 65 78 | 74 20 72 65 70 65 61 74 |then nex|t repeat|
|00003dd0| 0d 2d 2d 20 65 6e 74 72 | 79 20 69 73 20 6c 65 67 |.-- entr|y is leg|
|00003de0| 61 6c 20 73 6f 20 65 78 | 69 74 20 72 65 70 65 61 |al so ex|it repea|
|00003df0| 74 20 6c 6f 6f 70 0d 65 | 78 69 74 20 72 65 70 65 |t loop.e|xit repe|
|00003e00| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |at.end r|epeat.pu|
|00003e10| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 74 68 65 41 |t item 1| of theA|
|00003e20| 6e 73 77 65 72 20 69 6e | 74 6f 20 6f 62 6a 4e 6f |nswer in|to objNo|
|00003e30| 20 2d 2d 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | -- the |number o|
|00003e40| 66 20 74 68 65 20 62 75 | 74 74 6f 6e 20 6f 72 20 |f the bu|tton or |
|00003e50| 66 69 65 6c 64 0d 70 75 | 74 20 69 74 65 6d 20 32 |field.pu|t item 2|
|00003e60| 20 6f 66 20 74 68 65 41 | 6e 73 77 65 72 20 69 6e | of theA|nswer in|
|00003e70| 74 6f 20 74 68 65 44 65 | 73 74 0d 0d 64 6f 20 22 |to theDe|st..do "|
|00003e80| 70 75 74 20 74 68 65 20 | 69 64 20 6f 66 22 20 26 |put the |id of" &|
|00003e90| 26 20 74 68 65 4f 62 6a | 65 63 74 20 26 26 20 6f |& theObj|ect && o|
|00003ea0| 62 6a 4e 6f 20 26 26 20 | 22 69 6e 74 6f 20 6f 62 |bjNo && |"into ob|
|00003eb0| 49 64 22 20 2d 2d 20 67 | 65 74 20 74 68 65 20 69 |Id" -- g|et the i|
|00003ec0| 64 0d 64 6f 20 22 67 65 | 74 20 74 68 65 20 76 69 |d.do "ge|t the vi|
|00003ed0| 73 69 62 6c 65 20 6f 66 | 22 20 26 26 20 74 68 65 |sible of|" && the|
|00003ee0| 4f 62 6a 65 63 74 20 26 | 26 20 6f 62 6a 4e 6f 0d |Object &|& objNo.|
|00003ef0| 69 66 20 69 74 20 69 73 | 20 66 61 6c 73 65 20 74 |if it is| false t|
|00003f00| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 53 6f 72 72 |hen.answ|er "Sorr|
|00003f10| 79 2c 20 74 68 61 74 20 | 6f 62 6a 65 63 74 20 69 |y, that |object i|
|00003f20| 73 20 6e 6f 74 20 76 69 | 73 69 62 6c 65 2e 20 20 |s not vi|sible. |
|00003f30| 49 66 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 63 |If you w|ish to c|
|00003f40| 68 61 6e 67 65 22 20 c2 | 0d 26 26 20 22 69 74 73 |hange" .|.&& "its|
|00003f50| 20 6f 62 6a 65 63 74 20 | 6e 75 6d 62 65 72 20 79 | object |number y|
|00003f60| 6f 75 20 6d 75 73 74 20 | 66 69 72 73 74 20 6d 61 |ou must |first ma|
|00003f70| 6b 65 20 69 74 20 76 69 | 73 69 62 6c 65 2e 22 0d |ke it vi|sible.".|
|00003f80| 65 78 69 74 20 73 65 6e | 64 4f 62 6a 65 63 74 0d |exit sen|dObject.|
|00003f90| 65 6e 64 20 69 66 0d 0d | 64 6f 20 22 63 68 6f 6f |end if..|do "choo|
|00003fa0| 73 65 22 20 26 26 20 6f | 62 6a 54 79 70 65 20 26 |se" && o|bjType &|
|00003fb0| 26 20 22 74 6f 6f 6c 22 | 0d 64 6f 20 22 63 6c 69 |& "tool"|.do "cli|
|00003fc0| 63 6b 20 61 74 20 6c 6f | 63 20 6f 66 22 20 26 26 |ck at lo|c of" &&|
|00003fd0| 20 74 68 65 4f 62 6a 65 | 63 74 20 26 26 20 6f 62 | theObje|ct && ob|
|00003fe0| 6a 4e 6f 20 2d 2d 20 73 | 65 6c 65 63 74 20 74 68 |jNo -- s|elect th|
|00003ff0| 65 20 6f 62 6a 65 63 74 | 0d 0d 70 75 74 20 61 62 |e object|..put ab|
|00004000| 73 20 28 6f 62 6a 4e 6f | 20 2d 20 74 68 65 44 65 |s (objNo| - theDe|
|00004010| 73 74 29 20 69 6e 74 6f | 20 68 6f 77 46 61 72 0d |st) into| howFar.|
|00004020| 69 66 20 68 6f 77 46 61 | 72 20 3e 20 33 20 74 68 |if howFa|r > 3 th|
|00004030| 65 6e 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en.put t|rue into|
|00004040| 20 73 68 6f 77 50 72 6f | 67 72 65 73 73 0d 70 75 | showPro|gress.pu|
|00004050| 74 20 74 68 65 4f 62 6a | 65 63 74 20 26 26 20 6f |t theObj|ect && o|
|00004060| 62 6a 4e 6f 20 26 26 20 | 22 69 73 20 6e 6f 77 20 |bjNo && |"is now |
|00004070| 62 65 69 6e 67 20 73 65 | 6e 74 20 74 6f 22 20 c2 |being se|nt to" .|
|00004080| 0d 26 26 20 74 68 65 4f | 62 6a 65 63 74 20 26 26 |.&& theO|bject &&|
|00004090| 20 74 68 65 44 65 73 74 | 20 26 26 20 22 2e 22 20 | theDest| && "." |
|000040a0| 69 6e 74 6f 20 70 72 6f | 67 53 74 72 69 6e 67 0d |into pro|gString.|
|000040b0| 70 72 6f 67 72 65 73 73 | 20 31 2c 70 72 6f 67 53 |progress| 1,progS|
|000040c0| 74 72 69 6e 67 0d 65 6e | 64 20 69 66 0d 0d 72 65 |tring.en|d if..re|
|000040d0| 70 65 61 74 20 66 6f 72 | 65 76 65 72 20 2d 2d 20 |peat for|ever -- |
|000040e0| 73 65 6e 64 20 6f 72 20 | 62 72 69 6e 67 20 61 73 |send or |bring as|
|000040f0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 0d 64 6f 20 | appropr|iate.do |
|00004100| 22 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |"put the| number |
|00004110| 6f 66 22 20 26 26 20 74 | 68 65 4f 62 6a 65 63 74 |of" && t|heObject|
|00004120| 20 26 26 20 22 69 64 22 | 20 26 26 20 6f 62 49 64 | && "id"| && obId|
|00004130| 20 26 26 20 c2 0d 22 69 | 6e 74 6f 20 74 68 65 53 | && .."i|nto theS|
|00004140| 6f 75 72 63 65 22 0d 69 | 66 20 73 68 6f 77 50 72 |ource".i|f showPr|
|00004150| 6f 67 72 65 73 73 20 69 | 73 20 74 72 75 65 20 74 |ogress i|s true t|
|00004160| 68 65 6e 0d 70 75 74 20 | 61 62 73 28 74 68 65 53 |hen.put |abs(theS|
|00004170| 6f 75 72 63 65 20 2d 20 | 74 68 65 44 65 73 74 29 |ource - |theDest)|
|00004180| 20 69 6e 74 6f 20 74 68 | 65 44 69 66 66 0d 70 75 | into th|eDiff.pu|
|00004190| 74 20 72 6f 75 6e 64 28 | 28 28 68 6f 77 46 61 72 |t round(|((howFar|
|000041a0| 2d 74 68 65 44 69 66 66 | 29 2f 68 6f 77 46 61 72 |-theDiff|)/howFar|
|000041b0| 29 2a 31 30 30 29 20 69 | 6e 74 6f 20 74 68 69 73 |)*100) i|nto this|
|000041c0| 4d 75 63 68 0d 70 72 6f | 67 72 65 73 73 20 32 2c |Much.pro|gress 2,|
|000041d0| 74 68 69 73 4d 75 63 68 | 0d 65 6e 64 20 69 66 0d |thisMuch|.end if.|
|000041e0| 69 66 20 74 68 65 53 6f | 75 72 63 65 20 3e 20 74 |if theSo|urce > t|
|000041f0| 68 65 44 65 73 74 20 74 | 68 65 6e 20 73 65 6e 64 |heDest t|hen send|
|00004200| 20 22 64 6f 4d 65 6e 75 | 20 73 65 6e 64 20 66 61 | "doMenu| send fa|
|00004210| 72 74 68 65 72 22 20 74 | 6f 20 48 79 70 65 72 43 |rther" t|o HyperC|
|00004220| 61 72 64 0d 65 6c 73 65 | 20 69 66 20 74 68 65 53 |ard.else| if theS|
|00004230| 6f 75 72 63 65 20 3c 20 | 74 68 65 44 65 73 74 20 |ource < |theDest |
|00004240| 74 68 65 6e 20 73 65 6e | 64 20 22 64 6f 4d 65 6e |then sen|d "doMen|
|00004250| 75 20 62 72 69 6e 67 20 | 63 6c 6f 73 65 72 22 20 |u bring |closer" |
|00004260| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 65 6c 73 |to Hyper|Card.els|
|00004270| 65 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |e exit r|epeat.en|
|00004280| 64 20 72 65 70 65 61 74 | 0d 69 66 20 73 68 6f 77 |d repeat|.if show|
|00004290| 50 72 6f 67 72 65 73 73 | 20 69 73 20 74 72 75 65 |Progress| is true|
|000042a0| 20 74 68 65 6e 20 70 72 | 6f 67 72 65 73 73 20 33 | then pr|ogress 3|
|000042b0| 0d 63 68 6f 6f 73 65 20 | 74 68 65 54 6f 6f 6c 0d |.choose |theTool.|
|000042c0| 62 65 65 70 0d 70 75 74 | 20 73 65 6e 64 4f 62 6a |beep.put| sendObj|
|000042d0| 65 63 74 20 2d 2d 20 61 | 6c 6c 6f 77 73 20 72 65 |ect -- a|llows re|
|000042e0| 73 74 61 72 74 69 6e 67 | 20 22 73 65 6e 64 4f 62 |starting| "sendOb|
|000042f0| 6a 65 63 74 22 0d 2d 2d | 20 77 69 74 68 20 74 68 |ject".--| with th|
|00004300| 65 20 45 6e 74 65 72 20 | 6f 72 20 52 65 74 75 72 |e Enter |or Retur|
|00004310| 6e 20 6b 65 79 0d 65 6e | 64 20 73 65 6e 64 4f 62 |n key.en|d sendOb|
|00004320| 6a 65 63 74 0d 0d 6f 6e | 20 73 65 65 49 63 6f 6e |ject..on| seeIcon|
|00004330| 73 20 2d 2d 20 a5 a5 20 | 42 72 69 6e 67 73 20 75 |s -- .. |Brings u|
|00004340| 70 20 69 63 6f 6e 20 63 | 68 6f 6f 73 65 72 20 66 |p icon c|hooser f|
|00004350| 6f 72 20 76 69 65 77 69 | 6e 67 20 69 63 6f 6e 73 |or viewi|ng icons|
|00004360| 0d 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 4b 65 |.if the |optionKe|
|00004370| 79 20 69 73 20 6e 6f 74 | 20 64 6f 77 6e 20 74 68 |y is not| down th|
|00004380| 65 6e 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |en.put t|he short|
|00004390| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|000043a0| 61 63 6b 20 69 6e 74 6f | 20 74 68 65 53 74 61 63 |ack into| theStac|
|000043b0| 6b 0d 61 6e 73 77 65 72 | 20 22 56 69 65 77 20 69 |k.answer| "View i|
|000043c0| 63 6f 6e 73 20 6f 66 20 | 77 68 69 63 68 20 73 74 |cons of |which st|
|000043d0| 61 63 6b 3f 22 20 77 69 | 74 68 20 22 43 61 6e 63 |ack?" wi|th "Canc|
|000043e0| 65 6c 22 20 6f 72 20 22 | 4f 74 68 65 72 22 20 6f |el" or "|Other" o|
|000043f0| 72 20 74 68 65 53 74 61 | 63 6b 0d 69 66 20 69 74 |r theSta|ck.if it|
|00004400| 20 69 73 20 22 4f 74 68 | 65 72 22 20 74 68 65 6e | is "Oth|er" then|
|00004410| 0d 70 75 74 20 6c 69 6e | 65 20 31 20 6f 66 20 c2 |.put lin|e 1 of .|
|00004420| 0d 63 75 73 74 6f 6d 66 | 69 6c 65 4e 61 6d 65 28 |.customf|ileName(|
|00004430| 22 53 54 41 4b 22 2c 22 | 56 69 65 77 20 69 63 6f |"STAK","|View ico|
|00004440| 6e 73 20 6f 66 20 77 68 | 69 63 68 20 53 74 61 63 |ns of wh|ich Stac|
|00004450| 6b 3f 22 29 20 c2 0d 69 | 6e 74 6f 20 73 74 61 63 |k?") ..i|nto stac|
|00004460| 6b 4e 61 6d 65 0d 69 66 | 20 73 74 61 63 6b 4e 61 |kName.if| stackNa|
|00004470| 6d 65 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |me is em|pty then|
|00004480| 0d 65 78 69 74 20 73 65 | 65 49 63 6f 6e 73 0d 65 |.exit se|eIcons.e|
|00004490| 6e 64 20 69 66 0d 65 6c | 73 65 20 69 66 20 69 74 |nd if.el|se if it|
|000044a0| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|000044b0| 6e 0d 65 78 69 74 20 73 | 65 65 49 63 6f 6e 73 0d |n.exit s|eeIcons.|
|000044c0| 65 6c 73 65 20 70 75 74 | 20 69 74 20 69 6e 74 6f |else put| it into|
|000044d0| 20 73 74 61 63 6b 4e 61 | 6d 65 0d 73 65 74 20 6c | stackNa|me.set l|
|000044e0| 6f 63 6b 53 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockScree|n to tru|
|000044f0| 65 0d 73 65 74 20 6c 6f | 63 6b 4d 65 73 73 61 67 |e.set lo|ckMessag|
|00004500| 65 73 20 74 6f 20 74 72 | 75 65 0d 70 75 73 68 20 |es to tr|ue.push |
|00004510| 63 64 0d 67 6f 20 74 6f | 20 73 74 61 63 6b 20 73 |cd.go to| stack s|
|00004520| 74 61 63 6b 4e 61 6d 65 | 0d 70 75 74 20 73 68 6f |tackName|.put sho|
|00004530| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00004540| 73 74 61 63 6b 20 69 6e | 74 6f 20 74 68 65 53 74 |stack in|to theSt|
|00004550| 61 63 6b 0d 70 75 74 20 | 22 48 65 72 65 20 61 72 |ack.put |"Here ar|
|00004560| 65 20 74 68 65 20 69 63 | 6f 6e 73 20 69 6e 20 22 |e the ic|ons in "|
|00004570| 20 26 20 74 68 65 53 74 | 61 63 6b 20 69 6e 74 6f | & theSt|ack into|
|00004580| 20 69 63 6f 6e 53 74 72 | 69 6e 67 0d 69 66 20 74 | iconStr|ing.if t|
|00004590| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000045a0| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 73 20 22 | this st|ack is "|
|000045b0| 48 6f 6d 65 22 20 74 68 | 65 6e 0d 70 75 74 20 63 |Home" th|en.put c|
|000045c0| 68 6f 6f 73 65 49 63 6f | 6e 20 28 69 63 6f 6e 53 |hooseIco|n (iconS|
|000045d0| 74 72 69 6e 67 29 20 69 | 6e 74 6f 20 6e 6f 74 68 |tring) i|nto noth|
|000045e0| 69 6e 67 0d 65 6c 73 65 | 0d 70 75 74 20 63 68 6f |ing.else|.put cho|
|000045f0| 6f 73 65 49 63 6f 6e 20 | 28 69 63 6f 6e 53 74 72 |oseIcon |(iconStr|
|00004600| 69 6e 67 2c 31 29 20 69 | 6e 74 6f 20 6e 6f 74 68 |ing,1) i|nto noth|
|00004610| 69 6e 67 0d 65 6e 64 20 | 69 66 0d 70 6f 70 20 63 |ing.end |if.pop c|
|00004620| 64 0d 65 6c 73 65 0d 70 | 75 73 68 20 63 64 0d 70 |d.else.p|ush cd.p|
|00004630| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 c2 0d 63 |ut line |1 of ..c|
|00004640| 75 73 74 6f 6d 66 69 6c | 65 4e 61 6d 65 28 22 53 |ustomfil|eName("S|
|00004650| 54 41 4b 22 2c 22 43 68 | 6f 6f 73 65 20 61 20 73 |TAK","Ch|oose a s|
|00004660| 74 61 63 6b 20 69 6e 20 | 74 68 65 20 66 6f 6c 64 |tack in |the fold|
|00004670| 65 72 20 74 6f 20 76 69 | 65 77 2e 22 29 c2 0d 69 |er to vi|ew.")..i|
|00004680| 6e 74 6f 20 76 69 65 77 | 50 61 74 68 0d 69 66 20 |nto view|Path.if |
|00004690| 76 69 65 77 50 61 74 68 | 20 69 73 20 65 6d 70 74 |viewPath| is empt|
|000046a0| 79 20 74 68 65 6e 20 65 | 78 69 74 20 73 65 65 49 |y then e|xit seeI|
|000046b0| 63 6f 6e 73 0d 70 75 74 | 20 70 61 74 68 6e 61 6d |cons.put| pathnam|
|000046c0| 65 28 76 69 65 77 50 61 | 74 68 29 20 69 6e 74 6f |e(viewPa|th) into|
|000046d0| 20 76 69 65 77 50 61 74 | 68 0d 69 66 20 76 69 65 | viewPat|h.if vie|
|000046e0| 77 50 61 74 68 20 69 73 | 20 65 6d 70 74 79 20 74 |wPath is| empty t|
|000046f0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 50 72 6f 62 |hen.answ|er "Prob|
|00004700| 6c 65 6d 73 20 77 69 74 | 68 20 74 68 69 73 20 66 |lems wit|h this f|
|00004710| 6f 6c 64 65 72 20 6e 61 | 6d 65 22 20 77 69 74 68 |older na|me" with|
|00004720| 20 22 54 6f 6f 20 62 61 | 64 22 0d 65 78 69 74 20 | "Too ba|d".exit |
|00004730| 73 65 65 49 63 6f 6e 73 | 0d 65 6e 64 20 69 66 0d |seeIcons|.end if.|
|00004740| 50 75 74 20 46 69 6c 65 | 73 28 76 69 65 77 50 61 |Put File|s(viewPa|
|00004750| 74 68 2c 22 53 54 41 4b | 22 29 20 69 6e 74 6f 20 |th,"STAK|") into |
|00004760| 73 74 61 63 6b 6e 61 6d | 65 73 0d 70 75 73 68 20 |stacknam|es.push |
|00004770| 63 64 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |cd.set l|ockMessa|
|00004780| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 72 65 70 65 |ges to t|rue.repe|
|00004790| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|000047a0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000047b0| 20 6f 66 20 73 74 61 63 | 6b 6e 61 6d 65 73 0d 70 | of stac|knames.p|
|000047c0| 75 74 20 6c 69 6e 65 20 | 78 20 6f 66 20 73 74 61 |ut line |x of sta|
|000047d0| 63 6b 6e 61 6d 65 73 20 | 69 6e 74 6f 20 74 68 69 |cknames |into thi|
|000047e0| 73 73 74 61 63 6b 0d 67 | 6f 20 74 6f 20 73 74 61 |sstack.g|o to sta|
|000047f0| 63 6b 20 74 68 69 73 73 | 74 61 63 6b 0d 70 75 74 |ck thiss|tack.put|
|00004800| 20 22 49 63 6f 6e 73 20 | 6f 66 20 73 74 61 63 6b | "Icons |of stack|
|00004810| 3a 20 22 20 26 26 20 73 | 68 6f 72 74 20 6e 61 6d |: " && s|hort nam|
|00004820| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00004830| c2 0d 69 6e 74 6f 20 69 | 63 6f 6e 53 74 72 69 6e |..into i|conStrin|
|00004840| 67 0d 70 75 74 20 63 68 | 6f 6f 73 65 49 63 6f 6e |g.put ch|ooseIcon|
|00004850| 20 28 69 63 6f 6e 53 74 | 72 69 6e 67 2c 31 29 20 | (iconSt|ring,1) |
|00004860| 69 6e 74 6f 20 6e 6f 74 | 68 69 6e 67 0d 69 66 20 |into not|hing.if |
|00004870| 6e 6f 74 68 69 6e 67 20 | 69 73 20 65 6d 70 74 79 |nothing |is empty|
|00004880| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|00004890| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 6f 70 |t.end re|peat.pop|
|000048a0| 20 63 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 73 | cd.end |if.end s|
|000048b0| 65 65 49 63 6f 6e 73 0d | 0d 6f 6e 20 69 6e 66 6f |eeIcons.|.on info|
|000048c0| 20 2d 2d 20 a5 a5 20 70 | 75 74 73 20 66 69 6c 65 | -- .. p|uts file|
|000048d0| 2c 20 64 69 73 6b 2c 20 | 61 6e 64 20 6d 65 6d 6f |, disk, |and memo|
|000048e0| 72 79 20 69 6e 66 6f 20 | 69 6e 74 6f 20 74 68 65 |ry info |into the|
|000048f0| 20 6d 73 67 20 62 6f 78 | 0d 70 75 74 20 72 6f 75 | msg box|.put rou|
|00004900| 6e 64 28 28 73 69 7a 65 | 20 6f 66 20 74 68 69 73 |nd((size| of this|
|00004910| 20 73 74 61 63 6b 29 2f | 31 30 32 34 29 20 26 22 | stack)/|1024) &"|
|00004920| 4b 20 53 74 61 63 6b 20 | a5 20 22 20 69 6e 74 6f |K Stack |. " into|
|00004930| 20 69 6e 66 6f 56 61 72 | 0d 67 65 74 20 72 65 73 | infoVar|.get res|
|00004940| 66 69 6c 65 53 69 7a 65 | 28 29 0d 72 65 70 65 61 |fileSize|().repea|
|00004950| 74 20 66 6f 72 65 76 65 | 72 0d 69 66 20 6c 61 73 |t foreve|r.if las|
|00004960| 74 20 63 68 61 72 20 6f | 66 20 69 74 20 69 73 20 |t char o|f it is |
|00004970| 6e 6f 74 20 69 6e 20 22 | 30 31 32 33 34 35 36 37 |not in "|01234567|
|00004980| 38 39 22 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |89" then|.delete |
|00004990| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 69 74 0d |last cha|r of it.|
|000049a0| 65 6c 73 65 0d 65 78 69 | 74 20 72 65 70 65 61 74 |else.exi|t repeat|
|000049b0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|000049c0| 61 74 0d 70 75 74 20 72 | 6f 75 6e 64 28 69 74 2f |at.put r|ound(it/|
|000049d0| 31 30 32 34 29 20 26 20 | 22 4b 20 52 65 73 20 46 |1024) & |"K Res F|
|000049e0| 6f 72 6b 20 a5 20 22 20 | 61 66 74 65 72 20 69 6e |ork . " |after in|
|000049f0| 66 6f 56 61 72 0d 70 75 | 74 20 72 6f 75 6e 64 28 |foVar.pu|t round(|
|00004a00| 28 66 72 65 65 73 69 7a | 65 20 6f 66 20 74 68 69 |(freesiz|e of thi|
|00004a10| 73 20 73 74 61 63 6b 29 | 2f 31 30 32 34 29 26 22 |s stack)|/1024)&"|
|00004a20| 4b 20 46 72 65 65 20 a5 | 20 22 20 61 66 74 65 72 |K Free .| " after|
|00004a30| 20 69 6e 66 6f 56 61 72 | 0d 70 75 74 20 72 6f 75 | infoVar|.put rou|
|00004a40| 6e 64 28 74 68 65 20 68 | 65 61 70 73 70 61 63 65 |nd(the h|eapspace|
|00004a50| 2f 31 30 32 34 29 20 26 | 20 22 4b 20 48 65 61 70 |/1024) &| "K Heap|
|00004a60| 20 a5 20 22 20 61 66 74 | 65 72 20 69 6e 66 6f 56 | . " aft|er infoV|
|00004a70| 61 72 0d 70 75 74 20 74 | 68 65 20 64 69 73 6b 73 |ar.put t|he disks|
|00004a80| 70 61 63 65 2f 31 30 32 | 34 26 22 4b 20 44 69 73 |pace/102|4&"K Dis|
|00004a90| 6b 22 20 61 66 74 65 72 | 20 69 6e 66 6f 56 61 72 |k" after| infoVar|
|00004aa0| 0d 70 75 74 20 69 6e 66 | 6f 56 61 72 0d 65 6e 64 |.put inf|oVar.end|
|00004ab0| 20 69 6e 66 6f 0d 0d 6f | 6e 20 62 74 6e 53 65 71 | info..o|n btnSeq|
|00004ac0| 20 2d 2d 20 a5 a5 20 68 | 69 6c 69 74 65 73 20 62 | -- .. h|ilites b|
|00004ad0| 75 74 74 6f 6e 73 20 69 | 6e 20 73 65 71 75 65 6e |uttons i|n sequen|
|00004ae0| 63 65 0d 67 65 74 20 74 | 68 65 20 76 69 73 69 62 |ce.get t|he visib|
|00004af0| 6c 65 20 6f 66 20 6d 73 | 67 0d 70 75 74 20 22 43 |le of ms|g.put "C|
|00004b00| 61 72 64 20 42 75 74 74 | 6f 6e 73 22 0d 72 65 70 |ard Butt|ons".rep|
|00004b10| 65 61 74 20 77 69 74 68 | 20 6e 20 3d 20 31 20 74 |eat with| n = 1 t|
|00004b20| 6f 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 20 62 |o number| of cd b|
|00004b30| 74 6e 73 0d 73 65 74 20 | 68 69 6c 69 74 65 20 6f |tns.set |hilite o|
|00004b40| 66 20 63 64 20 62 74 6e | 20 6e 20 74 6f 20 20 20 |f cd btn| n to |
|00004b50| 20 20 20 20 20 74 72 75 | 65 0d 77 61 69 74 20 32 | tru|e.wait 2|
|00004b60| 30 0d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |0.set hi|lite of |
|00004b70| 63 64 20 62 74 6e 20 6e | 20 74 6f 20 66 61 6c 73 |cd btn n| to fals|
|00004b80| 65 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |e.end re|peat.put|
|00004b90| 20 22 42 61 63 6b 67 72 | 6f 75 6e 64 20 42 75 74 | "Backgr|ound But|
|00004ba0| 74 6f 6e 73 22 0d 72 65 | 70 65 61 74 20 77 69 74 |tons".re|peat wit|
|00004bb0| 68 20 6e 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h n = 1 |to numbe|
|00004bc0| 72 20 6f 66 20 62 67 20 | 62 74 6e 73 0d 73 65 74 |r of bg |btns.set|
|00004bd0| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 67 20 62 74 | hilite |of bg bt|
|00004be0| 6e 20 6e 20 74 6f 20 20 | 20 20 20 20 20 20 74 72 |n n to | tr|
|00004bf0| 75 65 0d 77 61 69 74 20 | 32 30 0d 73 65 74 20 68 |ue.wait |20.set h|
|00004c00| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|00004c10| 6e 20 74 6f 20 66 61 6c | 73 65 0d 65 6e 64 20 72 |n to fal|se.end r|
|00004c20| 65 70 65 61 74 0d 70 75 | 74 20 65 6d 70 74 79 0d |epeat.pu|t empty.|
|00004c30| 73 65 74 20 76 69 73 69 | 62 6c 65 20 6f 66 20 6d |set visi|ble of m|
|00004c40| 73 67 20 74 6f 20 69 74 | 0d 65 6e 64 20 62 74 6e |sg to it|.end btn|
|00004c50| 53 65 71 0d 0d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |Seq...--|--------|
|00004c60| 2d 2d 20 53 50 45 45 43 | 48 20 2d 2d 2d 2d 2d 2d |-- SPEEC|H ------|
|00004c70| 2d 2d 2d 2d 2d 2d 2d 0d | 0d 6f 6e 20 74 61 6c 6b |-------.|.on talk|
|00004c80| 53 74 72 69 6e 67 20 74 | 68 65 53 74 72 69 6e 67 |String t|heString|
|00004c90| 20 2d 2d 20 a5 a5 20 55 | 73 65 20 74 68 69 73 20 | -- .. U|se this |
|00004ca0| 74 6f 20 73 70 65 61 6b | 20 74 65 78 74 0d 2d 2d |to speak| text.--|
|00004cb0| 20 53 70 65 61 6b 73 20 | 61 20 67 69 76 65 6e 20 | Speaks |a given |
|00004cc0| 73 74 72 69 6e 67 2e 0d | 2d 2d 20 46 69 72 73 74 |string..|-- First|
|00004cd0| 20 63 68 65 63 6b 73 20 | 69 66 20 53 70 65 65 63 | checks |if Speec|
|00004ce0| 68 20 69 73 20 22 4f 4e | 22 20 61 6e 64 20 4d 61 |h is "ON|" and Ma|
|00004cf0| 63 69 6e 74 61 6c 6b 20 | 6f 70 65 6e 2e 0d 67 6c |cintalk |open..gl|
|00004d00| 6f 62 61 6c 20 73 70 65 | 65 63 68 4f 6e 4f 66 66 |obal spe|echOnOff|
|00004d10| 2c 74 68 65 53 70 65 65 | 63 68 2c 73 6e 64 4c 69 |,theSpee|ch,sndLi|
|00004d20| 73 74 0d 69 66 20 74 68 | 65 53 74 72 69 6e 67 20 |st.if th|eString |
|00004d30| 69 73 20 69 6e 20 73 6e | 64 4c 69 73 74 20 74 68 |is in sn|dList th|
|00004d40| 65 6e 20 70 6c 61 79 20 | 74 68 65 53 74 72 69 6e |en play |theStrin|
|00004d50| 67 0d 65 6c 73 65 0d 69 | 66 20 74 68 65 53 70 65 |g.else.i|f theSpe|
|00004d60| 65 63 68 20 69 73 20 65 | 6d 70 74 79 20 6f 72 20 |ech is e|mpty or |
|00004d70| 73 70 65 65 63 68 4f 6e | 4f 66 66 20 69 73 20 6e |speechOn|Off is n|
|00004d80| 6f 74 20 74 72 75 65 20 | 74 68 65 6e 20 c2 0d 65 |ot true |then ..e|
|00004d90| 78 69 74 20 74 61 6c 6b | 53 74 72 69 6e 67 0d 73 |xit talk|String.s|
|00004da0| 61 79 20 74 68 65 53 74 | 72 69 6e 67 0d 65 6e 64 |ay theSt|ring.end|
|00004db0| 20 69 66 0d 65 6e 64 20 | 74 61 6c 6b 53 74 72 69 | if.end |talkStri|
|00004dc0| 6e 67 0d 0d 6f 6e 20 74 | 61 6c 6b 50 68 6f 6e 65 |ng..on t|alkPhone|
|00004dd0| 74 69 63 20 74 68 65 53 | 74 72 69 6e 67 20 2d 2d |tic theS|tring --|
|00004de0| 20 a5 a5 20 55 73 65 20 | 74 68 69 73 20 74 6f 20 | .. Use |this to |
|00004df0| 73 70 65 61 6b 20 74 65 | 78 74 20 70 68 6f 6e 65 |speak te|xt phone|
|00004e00| 74 69 63 61 6c 6c 79 0d | 2d 2d 20 53 70 65 61 6b |tically.|-- Speak|
|00004e10| 73 20 61 20 67 69 76 65 | 6e 20 73 74 72 69 6e 67 |s a give|n string|
|00004e20| 20 70 68 6f 6e 65 74 69 | 63 61 6c 6c 79 0d 2d 2d | phoneti|cally.--|
|00004e30| 20 46 69 72 73 74 20 63 | 68 65 63 6b 73 20 69 66 | First c|hecks if|
|00004e40| 20 53 70 65 65 63 68 20 | 69 73 20 22 4f 4e 22 20 | Speech |is "ON" |
|00004e50| 61 6e 64 20 4d 61 63 69 | 6e 74 61 6c 6b 20 6f 70 |and Maci|ntalk op|
|00004e60| 65 6e 2e 0d 67 6c 6f 62 | 61 6c 20 73 70 65 65 63 |en..glob|al speec|
|00004e70| 68 4f 6e 4f 66 66 2c 74 | 68 65 53 70 65 65 63 68 |hOnOff,t|heSpeech|
|00004e80| 0d 69 66 20 74 68 65 53 | 70 65 65 63 68 20 69 73 |.if theS|peech is|
|00004e90| 20 65 6d 70 74 79 20 6f | 72 20 73 70 65 65 63 68 | empty o|r speech|
|00004ea0| 4f 6e 4f 66 66 20 69 73 | 20 6e 6f 74 20 74 72 75 |OnOff is| not tru|
|00004eb0| 65 20 74 68 65 6e 20 65 | 78 69 74 20 74 61 6c 6b |e then e|xit talk|
|00004ec0| 50 68 6f 6e 65 74 69 63 | 0d 73 61 79 50 68 6f 6e |Phonetic|.sayPhon|
|00004ed0| 65 74 69 63 20 74 68 65 | 53 74 72 69 6e 67 0d 65 |etic the|String.e|
|00004ee0| 6e 64 20 74 61 6c 6b 50 | 68 6f 6e 65 74 69 63 0d |nd talkP|honetic.|
|00004ef0| 0d 6f 6e 20 74 61 6c 6b | 4e 61 6d 65 20 2d 2d 20 |.on talk|Name -- |
|00004f00| a5 a5 20 53 70 65 61 6b | 73 20 6e 61 6d 65 20 6f |.. Speak|s name o|
|00004f10| 66 20 6f 62 6a 65 63 74 | 2e 20 20 54 68 69 73 20 |f object|. This |
|00004f20| 69 73 20 75 73 65 64 20 | 62 79 20 6d 6f 73 74 20 |is used |by most |
|00004f30| 62 75 74 74 6f 6e 73 0d | 67 6c 6f 62 61 6c 20 73 |buttons.|global s|
|00004f40| 70 65 65 63 68 4f 6e 4f | 66 66 2c 74 68 65 53 70 |peechOnO|ff,theSp|
|00004f50| 65 65 63 68 2c 73 6e 64 | 4c 69 73 74 0d 70 75 74 |eech,snd|List.put|
|00004f60| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00004f70| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 69 6e |of the t|arget in|
|00004f80| 74 6f 20 74 68 65 4e 61 | 6d 65 0d 69 66 20 74 68 |to theNa|me.if th|
|00004f90| 65 4e 61 6d 65 20 69 73 | 20 69 6e 20 73 6e 64 4c |eName is| in sndL|
|00004fa0| 69 73 74 20 74 68 65 6e | 0d 70 6c 61 79 20 74 68 |ist then|.play th|
|00004fb0| 65 4e 61 6d 65 0d 65 6c | 73 65 0d 69 66 20 74 68 |eName.el|se.if th|
|00004fc0| 65 53 70 65 65 63 68 20 | 69 73 20 65 6d 70 74 79 |eSpeech |is empty|
|00004fd0| 20 6f 72 20 73 70 65 65 | 63 68 4f 6e 4f 66 66 20 | or spee|chOnOff |
|00004fe0| 69 73 20 6e 6f 74 20 74 | 72 75 65 20 74 68 65 6e |is not t|rue then|
|00004ff0| 20 65 78 69 74 20 74 61 | 6c 6b 4e 61 6d 65 0d 65 | exit ta|lkName.e|
|00005000| 6c 73 65 0d 53 61 79 20 | 74 68 65 4e 61 6d 65 0d |lse.Say |theName.|
|00005010| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00005020| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00005030| 70 75 74 20 74 68 65 20 | 52 65 73 75 6c 74 0d 65 |put the |Result.e|
|00005040| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005050| 20 74 61 6c 6b 4e 61 6d | 65 0d 0d 6f 6e 20 67 65 | talkNam|e..on ge|
|00005060| 74 53 70 65 65 63 68 4f | 6e 4f 66 66 20 2d 2d 20 |tSpeechO|nOff -- |
|00005070| a5 a5 0d 2d 2d 20 50 75 | 74 73 20 74 68 65 20 73 |...-- Pu|ts the s|
|00005080| 70 65 65 63 68 20 70 72 | 65 66 2e 20 28 4f 6e 20 |peech pr|ef. (On |
|00005090| 6f 72 20 4f 66 66 29 20 | 69 6e 74 6f 20 67 6c 6f |or Off) |into glo|
|000050a0| 62 61 6c 20 22 73 70 65 | 65 63 68 4f 6e 4f 66 66 |bal "spe|echOnOff|
|000050b0| 22 0d 67 6c 6f 62 61 6c | 20 73 70 65 65 63 68 4f |".global| speechO|
|000050c0| 6e 4f 66 66 0d 70 75 74 | 20 68 69 6c 69 74 65 20 |nOff.put| hilite |
|000050d0| 6f 66 20 62 74 6e 20 22 | 53 70 65 65 63 68 22 20 |of btn "|Speech" |
|000050e0| 6f 66 20 63 64 20 22 53 | 70 65 65 63 68 22 20 69 |of cd "S|peech" i|
|000050f0| 6e 74 6f 20 73 70 65 65 | 63 68 4f 6e 4f 66 66 0d |nto spee|chOnOff.|
|00005100| 65 6e 64 20 67 65 74 53 | 70 65 65 63 68 4f 6e 4f |end getS|peechOnO|
|00005110| 66 66 0d 0d 0d 6f 6e 20 | 73 70 65 65 63 68 4f 70 |ff...on |speechOp|
|00005120| 65 6e 20 2d 2d 20 a5 a5 | 20 4f 70 65 6e 73 20 4d |en -- ..| Opens M|
|00005130| 61 63 69 6e 74 61 6c 6b | 20 26 20 73 65 74 73 20 |acintalk| & sets |
|00005140| 73 70 65 65 63 68 20 70 | 61 72 61 6d 65 74 65 72 |speech p|arameter|
|00005150| 73 0d 67 6c 6f 62 61 6c | 20 74 68 65 50 69 74 63 |s.global| thePitc|
|00005160| 68 2c 74 68 65 52 61 74 | 65 2c 74 68 65 4d 6f 64 |h,theRat|e,theMod|
|00005170| 65 2c 74 68 65 56 6f 6c | 2c 74 68 65 53 70 65 65 |e,theVol|,theSpee|
|00005180| 63 68 2c 73 70 65 65 63 | 68 4f 6e 4f 66 66 0d 69 |ch,speec|hOnOff.i|
|00005190| 66 20 73 70 65 65 63 68 | 4f 6e 4f 66 66 20 69 73 |f speech|OnOff is|
|000051a0| 20 66 61 6c 73 65 20 74 | 68 65 6e 20 65 78 69 74 | false t|hen exit|
|000051b0| 20 73 70 65 65 63 68 4f | 70 65 6e 20 2d 2d 20 75 | speechO|pen -- u|
|000051c0| 73 65 72 20 70 72 65 66 | 2e 0d 69 66 20 74 68 65 |ser pref|..if the|
|000051d0| 53 70 65 65 63 68 20 69 | 73 20 65 6d 70 74 79 20 |Speech i|s empty |
|000051e0| 74 68 65 6e 20 2d 2d 20 | 4d 61 63 69 6e 74 61 6c |then -- |Macintal|
|000051f0| 6b 20 69 73 20 6f 66 66 | 0d 54 75 72 6e 53 70 65 |k is off|.TurnSpe|
|00005200| 65 63 68 4f 6e 0d 69 66 | 20 74 68 65 20 52 65 73 |echOn.if| the Res|
|00005210| 75 6c 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ult is n|ot empty|
|00005220| 20 74 68 65 6e 20 2d 2d | 20 66 61 69 6c 65 64 20 | then --| failed |
|00005230| 61 6e 64 20 4d 61 63 69 | 6e 74 61 6c 6b 20 69 73 |and Maci|ntalk is|
|00005240| 20 73 74 69 6c 6c 20 6f | 66 66 0d 70 75 74 20 74 | still o|ff.put t|
|00005250| 68 65 20 52 65 73 75 6c | 74 0d 70 75 74 20 65 6d |he Resul|t.put em|
|00005260| 70 74 79 20 69 6e 74 6f | 20 74 68 65 53 70 65 65 |pty into| theSpee|
|00005270| 63 68 0d 65 78 69 74 20 | 73 70 65 65 63 68 4f 70 |ch.exit |speechOp|
|00005280| 65 6e 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |en.end i|f.end if|
|00005290| 0d 69 66 20 74 68 65 50 | 69 74 63 68 20 69 73 20 |.if theP|itch is |
|000052a0| 65 6d 70 74 79 20 74 68 | 65 6e 20 2d 2d 20 77 65 |empty th|en -- we|
|000052b0| 20 6e 65 65 64 20 74 6f | 20 67 65 74 20 74 68 65 | need to| get the|
|000052c0| 20 70 61 72 61 6d 73 0d | 70 75 74 20 63 64 20 66 | params.|put cd f|
|000052d0| 6c 64 20 22 50 69 74 63 | 68 46 69 65 6c 64 22 20 |ld "Pitc|hField" |
|000052e0| 6f 66 20 63 64 20 22 53 | 70 65 65 63 68 22 20 69 |of cd "S|peech" i|
|000052f0| 6e 74 6f 20 74 68 65 50 | 69 74 63 68 0d 70 75 74 |nto theP|itch.put|
|00005300| 20 63 64 20 66 6c 64 20 | 22 52 61 74 65 46 69 65 | cd fld |"RateFie|
|00005310| 6c 64 22 20 6f 66 20 63 | 64 20 22 53 70 65 65 63 |ld" of c|d "Speec|
|00005320| 68 22 20 69 6e 74 6f 20 | 74 68 65 52 61 74 65 0d |h" into |theRate.|
|00005330| 70 75 74 20 63 64 20 66 | 6c 64 20 22 4d 6f 64 65 |put cd f|ld "Mode|
|00005340| 46 69 65 6c 64 22 20 6f | 66 20 63 64 20 22 53 70 |Field" o|f cd "Sp|
|00005350| 65 65 63 68 22 20 69 6e | 74 6f 20 74 68 65 4d 6f |eech" in|to theMo|
|00005360| 64 65 0d 70 75 74 20 63 | 64 20 66 6c 64 20 22 56 |de.put c|d fld "V|
|00005370| 6f 6c 46 69 65 6c 64 22 | 20 6f 66 20 63 64 20 22 |olField"| of cd "|
|00005380| 53 70 65 65 63 68 22 20 | 69 6e 74 6f 20 74 68 65 |Speech" |into the|
|00005390| 56 6f 6c 0d 65 6e 64 20 | 69 66 0d 73 65 74 50 69 |Vol.end |if.setPi|
|000053a0| 74 63 68 20 74 68 65 50 | 69 74 63 68 2c 20 74 68 |tch theP|itch, th|
|000053b0| 65 4d 6f 64 65 20 2d 2d | 20 73 65 74 20 74 68 65 |eMode --| set the|
|000053c0| 20 73 65 74 74 69 6e 67 | 73 0d 73 65 74 52 61 74 | setting|s.setRat|
|000053d0| 65 20 74 68 65 52 61 74 | 65 0d 61 64 6a 75 73 74 |e theRat|e.adjust|
|000053e0| 56 6f 6c 75 6d 65 20 74 | 68 65 56 6f 6c 0d 65 6e |Volume t|heVol.en|
|000053f0| 64 20 73 70 65 65 63 68 | 4f 70 65 6e 0d 0d 6f 6e |d speech|Open..on|
|00005400| 20 73 70 65 65 63 68 43 | 6c 6f 73 65 20 2d 2d 20 | speechC|lose -- |
|00005410| a5 a5 20 43 6c 6f 73 65 | 20 4d 61 63 69 6e 74 61 |.. Close| Macinta|
|00005420| 6c 6b 0d 67 6c 6f 62 61 | 6c 20 74 68 65 53 70 65 |lk.globa|l theSpe|
|00005430| 65 63 68 0d 69 66 20 74 | 68 65 53 70 65 65 63 68 |ech.if t|heSpeech|
|00005440| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00005450| 65 6e 20 2d 2d 20 4d 61 | 63 69 6e 74 61 6c 6b 20 |en -- Ma|cintalk |
|00005460| 69 73 20 6f 6e 0d 54 75 | 72 6e 53 70 65 65 63 68 |is on.Tu|rnSpeech|
|00005470| 4f 66 66 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |Off.put |empty in|
|00005480| 74 6f 20 74 68 65 53 70 | 65 65 63 68 20 2d 2d 20 |to theSp|eech -- |
|00005490| 4d 61 63 69 6e 74 61 6c | 6b 20 69 73 20 6e 6f 77 |Macintal|k is now|
|000054a0| 20 6f 66 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 | off.end| if.end |
|000054b0| 73 70 65 65 63 68 43 6c | 6f 73 65 0d 0d 6f 6e 20 |speechCl|ose..on |
|000054c0| 73 65 74 50 69 74 52 61 | 74 65 20 2d 2d 20 a5 a5 |setPitRa|te -- ..|
|000054d0| 20 53 65 74 73 20 74 68 | 65 20 70 69 74 63 68 20 | Sets th|e pitch |
|000054e0| 61 6e 64 20 72 61 74 65 | 20 6f 66 20 4d 61 63 69 |and rate| of Maci|
|000054f0| 6e 74 61 6c 6b 20 73 70 | 65 65 63 68 0d 67 6c 6f |ntalk sp|eech.glo|
|00005500| 62 61 6c 20 74 68 65 50 | 69 74 63 68 2c 20 74 68 |bal theP|itch, th|
|00005510| 65 52 61 74 65 0d 73 65 | 74 50 69 74 63 68 20 74 |eRate.se|tPitch t|
|00005520| 68 65 50 69 74 63 68 0d | 73 65 74 52 61 74 65 20 |hePitch.|setRate |
|00005530| 74 68 65 52 61 74 65 0d | 65 6e 64 20 73 65 74 50 |theRate.|end setP|
|00005540| 69 74 52 61 74 65 0d 0d | 6f 6e 20 73 65 74 56 6f |itRate..|on setVo|
|00005550| 6c 20 2d 2d 20 a5 a5 20 | 53 65 74 73 20 74 68 65 |l -- .. |Sets the|
|00005560| 20 76 6f 6c 75 6d 65 20 | 6f 66 20 74 68 65 20 4d | volume |of the M|
|00005570| 61 63 27 73 20 73 70 65 | 61 6b 65 72 0d 67 6c 6f |ac's spe|aker.glo|
|00005580| 62 61 6c 20 74 68 65 56 | 6f 6c 0d 61 64 6a 75 73 |bal theV|ol.adjus|
|00005590| 74 56 6f 6c 75 6d 65 20 | 74 68 65 56 6f 6c 0d 65 |tVolume |theVol.e|
|000055a0| 6e 64 20 73 65 74 56 6f | 6c 0d 0d 6f 6e 20 73 74 |nd setVo|l..on st|
|000055b0| 6f 70 4d 65 6e 75 53 70 | 65 61 6b 20 2d 2d 20 a5 |opMenuSp|eak -- .|
|000055c0| a5 20 70 72 65 76 65 6e | 74 73 20 4d 61 63 69 6e |. preven|ts Macin|
|000055d0| 74 61 6c 6b 20 66 72 6f | 6d 20 73 70 65 61 6b 69 |talk fro|m speaki|
|000055e0| 6e 67 20 6d 65 6e 75 20 | 63 68 6f 69 63 65 73 0d |ng menu |choices.|
|000055f0| 2d 2d 20 74 68 69 73 20 | 69 73 20 75 73 65 64 20 |-- this |is used |
|00005600| 69 6e 20 68 61 6e 64 6c | 65 72 73 20 74 68 61 74 |in handl|ers that|
|00005610| 20 61 63 63 65 73 73 20 | 74 68 65 20 6d 65 6e 75 | access |the menu|
|00005620| 20 63 6f 6d 6d 61 6e 64 | 73 0d 67 6c 6f 62 61 6c | command|s.global|
|00005630| 20 64 6f 53 70 65 61 6b | 0d 70 75 74 20 22 66 61 | doSpeak|.put "fa|
|00005640| 6c 73 65 22 20 69 6e 74 | 6f 20 64 6f 53 70 65 61 |lse" int|o doSpea|
|00005650| 6b 0d 65 6e 64 20 73 74 | 6f 70 4d 65 6e 75 53 70 |k.end st|opMenuSp|
|00005660| 65 61 6b 0d 0d 6f 6e 20 | 73 68 75 74 55 70 20 2d |eak..on |shutUp -|
|00005670| 2d 20 a5 a5 20 74 75 72 | 6e 20 4d 61 63 69 6e 74 |- .. tur|n Macint|
|00005680| 61 6c 6b 20 6f 66 66 0d | 74 61 6c 6b 53 74 72 69 |alk off.|talkStri|
|00005690| 6e 67 20 22 4f 20 4b 2c | 20 49 27 6c 6c 20 62 65 |ng "O K,| I'll be|
|000056a0| 20 71 75 69 65 74 2e 22 | 0d 73 70 65 65 63 68 43 | quiet."|.speechC|
|000056b0| 6c 6f 73 65 0d 65 6e 64 | 20 73 68 75 74 55 70 0d |lose.end| shutUp.|
|000056c0| 0d 6f 6e 20 73 68 75 74 | 20 77 68 61 74 20 2d 2d |.on shut| what --|
|000056d0| 20 a5 a5 20 73 65 65 20 | 61 62 6f 76 65 0d 69 66 | .. see |above.if|
|000056e0| 20 77 68 61 74 20 69 73 | 20 22 75 70 22 20 74 68 | what is| "up" th|
|000056f0| 65 6e 20 73 68 75 74 55 | 70 0d 65 6e 64 20 73 68 |en shutU|p.end sh|
|00005700| 75 74 0d 0d 6f 6e 20 74 | 61 6c 6b 20 2d 2d 20 a5 |ut..on t|alk -- .|
|00005710| a5 20 74 75 72 6e 20 62 | 61 63 6b 20 6f 6e 20 61 |. turn b|ack on a|
|00005720| 67 61 69 6e 0d 67 6c 6f | 62 61 6c 20 74 68 65 53 |gain.glo|bal theS|
|00005730| 70 65 65 63 68 0d 69 66 | 20 74 68 65 53 70 65 65 |peech.if| theSpee|
|00005740| 63 68 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ch is em|pty then|
|00005750| 0d 73 70 65 65 63 68 4f | 70 65 6e 0d 74 61 6c 6b |.speechO|pen.talk|
|00005760| 53 74 72 69 6e 67 20 22 | 49 20 73 65 65 20 79 6f |String "|I see yo|
|00005770| 75 20 63 61 6d 65 20 74 | 6f 20 79 6f 75 72 20 73 |u came t|o your s|
|00005780| 65 6e 73 65 73 22 0d 65 | 6e 64 20 69 66 0d 65 6e |enses".e|nd if.en|
|00005790| 64 20 74 61 6c 6b 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |d talk..|--------|
|000057a0| 2d 2d 20 4d 69 73 63 2e | 20 53 63 72 69 70 74 73 |-- Misc.| Scripts|
|000057b0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|000057c0| 2d 0d 0d 6f 6e 20 61 62 | 6f 75 74 44 65 76 44 6f |-..on ab|outDevDo|
|000057d0| 6d 20 2d 2d 20 a5 a5 20 | 75 6e 64 65 72 20 74 68 |m -- .. |under th|
|000057e0| 65 20 41 70 70 6c 65 20 | 6d 65 6e 75 0d 67 6c 6f |e Apple |menu.glo|
|000057f0| 62 61 6c 20 6d 65 6e 75 | 53 70 65 61 6b 0d 69 66 |bal menu|Speak.if|
|00005800| 20 6d 65 6e 75 53 70 65 | 61 6b 20 69 73 20 74 72 | menuSpe|ak is tr|
|00005810| 75 65 20 74 68 65 6e 0d | 74 61 6c 6b 53 74 72 69 |ue then.|talkStri|
|00005820| 6e 67 20 22 41 62 6f 75 | 74 20 44 65 76 65 6c 6f |ng "Abou|t Develo|
|00005830| 70 65 72 27 73 20 44 6f | 6d 69 63 69 6c 65 22 0d |per's Do|micile".|
|00005840| 65 6e 64 20 69 66 0d 73 | 68 6f 77 44 69 61 6c 6f |end if.s|howDialo|
|00005850| 67 20 31 2c 33 30 30 30 | 2c 22 22 2c 66 61 6c 73 |g 1,3000|,"",fals|
|00005860| 65 0d 65 6e 64 20 61 62 | 6f 75 74 44 65 76 44 6f |e.end ab|outDevDo|
|00005870| 6d 0d 0d 6f 6e 20 44 65 | 76 44 6f 6d 48 65 6c 70 |m..on De|vDomHelp|
|00005880| 20 2d 2d 20 a5 a5 20 75 | 6e 64 65 72 20 74 68 65 | -- .. u|nder the|
|00005890| 20 41 70 70 6c 65 20 6d | 65 6e 75 0d 67 6c 6f 62 | Apple m|enu.glob|
|000058a0| 61 6c 20 6d 65 6e 75 53 | 70 65 61 6b 0d 69 66 20 |al menuS|peak.if |
|000058b0| 6d 65 6e 75 53 70 65 61 | 6b 20 69 73 20 74 72 75 |menuSpea|k is tru|
|000058c0| 65 20 74 68 65 6e 0d 2d | 2d 20 74 61 6c 6b 53 74 |e then.-|- talkSt|
|000058d0| 72 69 6e 67 20 22 41 62 | 6f 75 74 20 44 65 76 65 |ring "Ab|out Deve|
|000058e0| 6c 6f 70 65 72 27 73 20 | 44 6f 6d 69 63 69 6c 65 |loper's |Domicile|
|000058f0| 22 0d 65 6e 64 20 69 66 | 0d 73 68 6f 77 44 69 61 |".end if|.showDia|
|00005900| 6c 6f 67 20 31 2c 31 35 | 30 30 30 2c 22 22 2c 74 |log 1,15|000,"",t|
|00005910| 72 75 65 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |rue.if t|he resul|
|00005920| 74 20 69 73 20 32 20 74 | 68 65 6e 20 73 65 6e 64 |t is 2 t|hen send|
|00005930| 20 68 65 6c 70 20 74 6f | 20 48 79 70 65 72 43 61 | help to| HyperCa|
|00005940| 72 64 0d 65 6e 64 20 44 | 65 76 44 6f 6d 48 65 6c |rd.end D|evDomHel|
|00005950| 70 0d 0d 6f 6e 20 70 72 | 6f 67 72 65 73 73 52 65 |p..on pr|ogressRe|
|00005960| 6d 6f 76 65 43 68 65 63 | 6b 20 2d 2d 20 a5 a5 20 |moveChec|k -- .. |
|00005970| 67 65 74 20 72 69 64 20 | 6f 66 20 70 72 6f 67 72 |get rid |of progr|
|00005980| 65 73 73 20 64 69 61 6c | 6f 67 20 69 66 20 61 62 |ess dial|og if ab|
|00005990| 6f 72 74 65 64 0d 67 6c | 6f 62 61 6c 20 70 72 6f |orted.gl|obal pro|
|000059a0| 67 72 65 73 73 50 6f 69 | 6e 74 65 72 2c 52 65 6d |gressPoi|nter,Rem|
|000059b0| 6f 76 65 50 72 6f 67 72 | 65 73 73 0d 69 66 20 52 |oveProgr|ess.if R|
|000059c0| 65 6d 6f 76 65 50 72 6f | 67 72 65 73 73 20 69 73 |emovePro|gress is|
|000059d0| 20 54 52 55 45 20 74 68 | 65 6e 0d 70 72 6f 67 72 | TRUE th|en.progr|
|000059e0| 65 73 73 20 33 0d 70 75 | 74 20 46 41 4c 53 45 20 |ess 3.pu|t FALSE |
|000059f0| 69 6e 74 6f 20 52 65 6d | 6f 76 65 50 72 6f 67 72 |into Rem|oveProgr|
|00005a00| 65 73 73 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 70 |ess.end |if.end p|
|00005a10| 72 6f 67 72 65 73 73 52 | 65 6d 6f 76 65 43 68 65 |rogressR|emoveChe|
|00005a20| 63 6b 0d 0d 6f 6e 20 70 | 69 63 6b 4c 69 73 74 20 |ck..on p|ickList |
|00005a30| 74 79 70 65 20 2d 2d 20 | a5 a5 20 75 73 65 64 20 |type -- |.. used |
|00005a40| 62 79 20 68 61 6e 64 6c | 65 72 73 20 74 6f 20 61 |by handl|ers to a|
|00005a50| 63 63 65 73 73 20 74 68 | 65 20 44 6f 4c 69 73 74 |ccess th|e DoList|
|00005a60| 20 68 61 6e 64 6c 65 72 | 0d 67 6c 6f 62 61 6c 20 | handler|.global |
|00005a70| 74 68 65 61 6e 73 77 65 | 72 0d 70 75 74 20 65 6d |theanswe|r.put em|
|00005a80| 70 74 79 20 69 6e 74 6f | 20 69 74 65 6d 4c 69 73 |pty into| itemLis|
|00005a90| 74 0d 69 66 20 74 79 70 | 65 20 69 73 20 22 62 6b |t.if typ|e is "bk|
|00005aa0| 67 6e 64 20 66 69 65 6c | 64 22 20 74 68 65 6e 0d |gnd fiel|d" then.|
|00005ab0| 72 65 70 65 61 74 20 77 | 69 74 68 20 4e 20 3d 20 |repeat w|ith N = |
|00005ac0| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 66 |1 to num|ber of f|
|00005ad0| 6c 64 73 0d 70 75 74 20 | 74 68 65 20 73 68 6f 72 |lds.put |the shor|
|00005ae0| 74 20 6e 61 6d 65 20 6f | 66 20 66 6c 64 20 4e 20 |t name o|f fld N |
|00005af0| 26 20 22 2c 22 20 61 66 | 74 65 72 20 69 74 65 6d |& "," af|ter item|
|00005b00| 4c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |List.end| repeat.|
|00005b10| 65 6c 73 65 20 69 66 20 | 74 79 70 65 20 69 73 20 |else if |type is |
|00005b20| 22 63 61 72 64 20 66 69 | 65 6c 64 22 20 74 68 65 |"card fi|eld" the|
|00005b30| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 4e 20 |n.repeat| with N |
|00005b40| 3d 20 31 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 1 to n|umber of|
|00005b50| 20 63 64 20 66 6c 64 73 | 0d 70 75 74 20 74 68 65 | cd flds|.put the|
|00005b60| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 63 | short n|ame of c|
|00005b70| 64 20 66 6c 64 20 4e 20 | 26 20 22 2c 22 20 61 66 |d fld N |& "," af|
|00005b80| 74 65 72 20 69 74 65 6d | 4c 69 73 74 0d 65 6e 64 |ter item|List.end|
|00005b90| 20 72 65 70 65 61 74 0d | 65 6c 73 65 20 69 66 20 | repeat.|else if |
|00005ba0| 74 79 70 65 20 69 73 20 | 22 62 6b 67 6e 64 20 62 |type is |"bkgnd b|
|00005bb0| 75 74 74 6f 6e 22 20 74 | 68 65 6e 0d 72 65 70 65 |utton" t|hen.repe|
|00005bc0| 61 74 20 77 69 74 68 20 | 4e 20 3d 20 31 20 74 6f |at with |N = 1 to|
|00005bd0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 62 67 20 62 74 | number |of bg bt|
|00005be0| 6e 73 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |ns.put t|he short|
|00005bf0| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|00005c00| 4e 20 26 20 22 2c 22 20 | 61 66 74 65 72 20 69 74 |N & "," |after it|
|00005c10| 65 6d 4c 69 73 74 0d 65 | 6e 64 20 72 65 70 65 61 |emList.e|nd repea|
|00005c20| 74 0d 65 6c 73 65 20 69 | 66 20 74 79 70 65 20 69 |t.else i|f type i|
|00005c30| 73 20 22 63 61 72 64 20 | 62 75 74 74 6f 6e 22 20 |s "card |button" |
|00005c40| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |then.rep|eat with|
|00005c50| 20 4e 20 3d 20 31 20 74 | 6f 20 6e 75 6d 62 65 72 | N = 1 t|o number|
|00005c60| 20 6f 66 20 62 74 6e 73 | 0d 70 75 74 20 74 68 65 | of btns|.put the|
|00005c70| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 62 | short n|ame of b|
|00005c80| 74 6e 20 4e 20 26 20 22 | 2c 22 20 61 66 74 65 72 |tn N & "|," after|
|00005c90| 20 69 74 65 6d 4c 69 73 | 74 0d 65 6e 64 20 72 65 | itemLis|t.end re|
|00005ca0| 70 65 61 74 0d 65 6c 73 | 65 0d 70 75 74 20 22 3f |peat.els|e.put "?|
|00005cb0| 22 0d 65 78 69 74 20 70 | 69 63 6b 4c 69 73 74 0d |".exit p|ickList.|
|00005cc0| 65 6e 64 20 69 66 0d 69 | 66 20 69 74 65 6d 4c 69 |end if.i|f itemLi|
|00005cd0| 73 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |st is em|pty then|
|00005ce0| 0d 61 6e 73 77 65 72 20 | 22 53 6f 72 72 79 2c 20 |.answer |"Sorry, |
|00005cf0| 62 75 74 20 74 68 65 72 | 65 20 61 72 65 20 6e 6f |but ther|e are no|
|00005d00| 20 22 20 26 20 74 79 70 | 65 20 26 22 73 20 69 6e | " & typ|e &"s in|
|00005d10| 20 74 68 69 73 20 63 61 | 72 64 2e 22 0d 70 75 74 | this ca|rd.".put|
|00005d20| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 68 65 61 | empty i|nto thea|
|00005d30| 6e 73 77 65 72 0d 65 78 | 69 74 20 70 69 63 6b 4c |nswer.ex|it pickL|
|00005d40| 69 73 74 0d 65 6e 64 20 | 69 66 0d 64 6f 4c 69 73 |ist.end |if.doLis|
|00005d50| 74 20 53 65 6c 65 63 74 | 2c 43 61 6e 63 65 6c 2c |t Select|,Cancel,|
|00005d60| 69 74 65 6d 4c 69 73 74 | 2c 6f 6e 65 20 2d 2d 20 |itemList|,one -- |
|00005d70| 67 65 74 20 6c 69 73 74 | 20 6f 66 20 66 69 65 6c |get list| of fiel|
|00005d80| 64 73 20 6f 72 20 62 75 | 74 74 6f 6e 73 0d 70 75 |ds or bu|ttons.pu|
|00005d90| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 74 68 65 20 |t item 2| of the |
|00005da0| 72 65 73 75 6c 74 20 69 | 6e 74 6f 20 74 68 65 61 |result i|nto thea|
|00005db0| 6e 73 77 65 72 0d 65 6e | 64 20 70 69 63 6b 4c 69 |nswer.en|d pickLi|
|00005dc0| 73 74 0d 0d 6f 6e 20 67 | 6f 45 66 66 65 63 74 20 |st..on g|oEffect |
|00005dd0| 2d 2d 20 a5 a5 20 76 69 | 73 75 61 6c 20 65 66 66 |-- .. vi|sual eff|
|00005de0| 65 63 74 20 66 6f 72 20 | 67 6f 69 6e 67 20 74 6f |ect for |going to|
|00005df0| 20 63 64 73 20 6f 66 20 | 44 65 76 44 6f 6d 0d 2d | cds of |DevDom.-|
|00005e00| 2d 20 70 75 74 20 79 6f | 75 72 20 76 69 73 75 61 |- put yo|ur visua|
|00005e10| 6c 20 65 66 66 65 63 74 | 20 68 65 72 65 21 0d 65 |l effect| here!.e|
|00005e20| 6e 64 20 67 6f 45 66 66 | 65 63 74 0d 0d 0d 2d 2d |nd goEff|ect...--|
|00005e30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 4d 65 73 73 |--------|--- Mess|
|00005e40| 61 67 65 20 53 6f 75 6e | 64 73 20 2b 20 2d 2d 2d |age Soun|ds + ---|
|00005e50| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 6f 6e 20 61 72 72 |--------|..on arr|
|00005e60| 6f 77 4b 65 79 20 6b 65 | 79 0d 67 6c 6f 62 61 6c |owKey ke|y.global|
|00005e70| 20 53 31 2c 63 6d 64 73 | 2c 6e 6c 69 6e 2c 63 70 | S1,cmds|,nlin,cp|
|00005e80| 74 72 0d 70 6c 61 79 20 | 53 31 0d 2d 2d 20 74 68 |tr.play |S1.-- th|
|00005e90| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 69 73 20 62 |e follow|ing is b|
|00005ea0| 79 20 45 6c 6c 69 73 20 | 5a 2e 20 47 61 62 6f 76 |y Ellis |Z. Gabov|
|00005eb0| 69 74 63 68 20 6f 66 20 | 4c 79 6e 6e 66 69 65 6c |itch of |Lynnfiel|
|00005ec0| 64 2c 20 4d 41 0d 2d 2d | 20 61 6e 64 20 70 75 62 |d, MA.--| and pub|
|00005ed0| 6c 69 73 68 65 64 20 69 | 6e 20 41 70 72 69 6c 20 |lished i|n April |
|00005ee0| 38 39 20 4d 61 63 55 73 | 65 72 0d 0d 69 66 20 74 |89 MacUs|er..if t|
|00005ef0| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 69 73 20 |he optio|nKey is |
|00005f00| 75 70 20 74 68 65 6e 20 | 70 61 73 73 20 61 72 72 |up then |pass arr|
|00005f10| 6f 77 4b 65 79 0d 69 66 | 20 6b 65 79 20 3d 20 22 |owKey.if| key = "|
|00005f20| 6c 65 66 74 22 20 61 6e | 64 20 63 70 74 72 3e 31 |left" an|d cptr>1|
|00005f30| 20 74 68 65 6e 20 73 75 | 62 74 72 61 63 74 20 31 | then su|btract 1|
|00005f40| 20 66 72 6f 6d 20 63 70 | 74 72 0d 65 6c 73 65 0d | from cp|tr.else.|
|00005f50| 69 66 20 6b 65 79 20 3d | 20 22 72 69 67 68 74 22 |if key =| "right"|
|00005f60| 20 61 6e 64 20 63 70 74 | 72 20 3c 20 6e 6c 69 6e | and cpt|r < nlin|
|00005f70| 20 74 68 65 6e 20 61 64 | 64 20 31 20 74 6f 20 63 | then ad|d 1 to c|
|00005f80| 70 74 72 0d 65 6c 73 65 | 0d 69 66 20 6b 65 79 20 |ptr.else|.if key |
|00005f90| 3d 20 22 75 70 22 20 74 | 68 65 6e 20 70 75 74 20 |= "up" t|hen put |
|00005fa0| 31 20 69 6e 74 6f 20 63 | 70 74 72 0d 65 6c 73 65 |1 into c|ptr.else|
|00005fb0| 0d 69 66 20 6b 65 79 20 | 3d 20 22 64 6f 77 6e 22 |.if key |= "down"|
|00005fc0| 20 74 68 65 6e 20 70 75 | 74 20 6e 6c 69 6e 20 69 | then pu|t nlin i|
|00005fd0| 6e 74 6f 20 63 70 74 72 | 0d 65 6e 64 20 69 66 0d |nto cptr|.end if.|
|00005fe0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 70 75 |end if.e|nd if.pu|
|00005ff0| 74 20 22 23 22 20 26 20 | 63 70 74 72 20 26 20 22 |t "#" & |cptr & "|
|00006000| 3a 22 20 26 26 20 6c 69 | 6e 65 20 63 70 74 72 20 |:" && li|ne cptr |
|00006010| 6f 66 20 63 6d 64 73 20 | 69 6e 74 6f 20 6d 73 67 |of cmds |into msg|
|00006020| 0d 77 61 69 74 20 33 30 | 20 74 69 63 6b 73 0d 70 |.wait 30| ticks.p|
|00006030| 75 74 20 6c 69 6e 65 20 | 63 70 74 72 20 6f 66 20 |ut line |cptr of |
|00006040| 63 6d 64 73 20 69 6e 74 | 6f 20 6d 73 67 0d 65 6e |cmds int|o msg.en|
|00006050| 64 20 61 72 72 6f 77 4b | 65 79 0d 0d 6f 6e 20 63 |d arrowK|ey..on c|
|00006060| 6c 65 61 72 20 2d 2d 20 | 70 61 72 74 20 6f 66 20 |lear -- |part of |
|00006070| 4d 65 73 73 61 67 65 20 | 48 65 6c 70 65 72 0d 67 |Message |Helper.g|
|00006080| 6c 6f 62 61 6c 20 63 6d | 64 73 2c 6e 6c 69 6e 2c |lobal cm|ds,nlin,|
|00006090| 63 70 74 72 0d 70 75 74 | 20 6d 73 67 20 26 20 72 |cptr.put| msg & r|
|000060a0| 65 74 75 72 6e 20 69 6e | 74 6f 20 63 6d 64 73 0d |eturn in|to cmds.|
|000060b0| 70 75 74 20 31 20 69 6e | 74 6f 20 6e 6c 69 6e 0d |put 1 in|to nlin.|
|000060c0| 70 75 74 20 31 20 69 6e | 74 6f 20 63 70 74 72 0d |put 1 in|to cptr.|
|000060d0| 70 75 74 20 22 54 68 65 | 20 63 6f 6d 6d 61 6e 64 |put "The| command|
|000060e0| 20 6c 69 73 74 20 68 61 | 73 20 62 65 65 6e 20 63 | list ha|s been c|
|000060f0| 6c 65 61 72 65 64 2e 22 | 0d 77 61 69 74 20 31 20 |leared."|.wait 1 |
|00006100| 73 65 63 0d 70 75 74 20 | 63 6d 64 73 0d 65 6e 64 |sec.put |cmds.end|
|00006110| 20 63 6c 65 61 72 0d 0d | 6f 6e 20 63 6c 6f 73 65 | clear..|on close|
|00006120| 42 61 63 6b 67 72 6f 75 | 6e 64 0d 67 6c 6f 62 61 |Backgrou|nd.globa|
|00006130| 6c 20 53 32 0d 70 6c 61 | 79 20 53 32 0d 70 61 73 |l S2.pla|y S2.pas|
|00006140| 73 20 63 6c 6f 73 65 42 | 61 63 6b 67 72 6f 75 6e |s closeB|ackgroun|
|00006150| 64 0d 65 6e 64 20 63 6c | 6f 73 65 42 61 63 6b 67 |d.end cl|oseBackg|
|00006160| 72 6f 75 6e 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 43 |round..o|n closeC|
|00006170| 61 72 64 0d 67 6c 6f 62 | 61 6c 20 53 33 0d 70 6c |ard.glob|al S3.pl|
|00006180| 61 79 20 53 33 0d 70 61 | 73 73 20 63 6c 6f 73 65 |ay S3.pa|ss close|
|00006190| 43 61 72 64 0d 65 6e 64 | 20 63 6c 6f 73 65 43 61 |Card.end| closeCa|
|000061a0| 72 64 0d 0d 6f 6e 20 63 | 6c 6f 73 65 46 69 65 6c |rd..on c|loseFiel|
|000061b0| 64 0d 67 6c 6f 62 61 6c | 20 53 34 0d 70 6c 61 79 |d.global| S4.play|
|000061c0| 20 53 34 0d 70 61 73 73 | 20 63 6c 6f 73 65 46 69 | S4.pass| closeFi|
|000061d0| 65 6c 64 0d 65 6e 64 20 | 63 6c 6f 73 65 46 69 65 |eld.end |closeFie|
|000061e0| 6c 64 0d 0d 6f 6e 20 63 | 6f 6e 74 72 6f 6c 4b 65 |ld..on c|ontrolKe|
|000061f0| 79 20 77 68 61 74 0d 67 | 6c 6f 62 61 6c 20 53 36 |y what.g|lobal S6|
|00006200| 0d 70 6c 61 79 20 53 36 | 0d 69 66 20 77 68 61 74 |.play S6|.if what|
|00006210| 20 69 73 20 22 31 22 20 | 74 68 65 6e 20 62 65 65 | is "1" |then bee|
|00006220| 70 0d 70 61 73 73 20 63 | 6f 6e 74 72 6f 6c 4b 65 |p.pass c|ontrolKe|
|00006230| 79 0d 65 6e 64 20 63 6f | 6e 74 72 6f 6c 4b 65 79 |y.end co|ntrolKey|
|00006240| 0d 0d 6f 6e 20 64 65 6c | 65 74 65 42 61 63 6b 67 |..on del|eteBackg|
|00006250| 72 6f 75 6e 64 0d 67 6c | 6f 62 61 6c 20 53 37 0d |round.gl|obal S7.|
|00006260| 70 6c 61 79 20 53 37 0d | 70 61 73 73 20 64 65 6c |play S7.|pass del|
|00006270| 65 74 65 42 61 63 6b 67 | 72 6f 75 6e 64 0d 65 6e |eteBackg|round.en|
|00006280| 64 20 64 65 6c 65 74 65 | 42 61 63 6b 67 72 6f 75 |d delete|Backgrou|
|00006290| 6e 64 0d 0d 6f 6e 20 64 | 65 6c 65 74 65 42 75 74 |nd..on d|eleteBut|
|000062a0| 74 6f 6e 0d 67 6c 6f 62 | 61 6c 20 53 38 0d 70 6c |ton.glob|al S8.pl|
|000062b0| 61 79 20 53 38 0d 70 61 | 73 73 20 64 65 6c 65 74 |ay S8.pa|ss delet|
|000062c0| 65 42 75 74 74 6f 6e 0d | 65 6e 64 20 64 65 6c 65 |eButton.|end dele|
|000062d0| 74 65 42 75 74 74 6f 6e | 0d 0d 6f 6e 20 64 65 6c |teButton|..on del|
|000062e0| 65 74 65 43 61 72 64 0d | 67 6c 6f 62 61 6c 20 53 |eteCard.|global S|
|000062f0| 39 0d 70 6c 61 79 20 53 | 39 0d 70 61 73 73 20 64 |9.play S|9.pass d|
|00006300| 65 6c 65 74 65 43 61 72 | 64 0d 65 6e 64 20 64 65 |eleteCar|d.end de|
|00006310| 6c 65 74 65 43 61 72 64 | 0d 0d 6f 6e 20 64 65 6c |leteCard|..on del|
|00006320| 65 74 65 46 69 65 6c 64 | 0d 67 6c 6f 62 61 6c 20 |eteField|.global |
|00006330| 53 31 30 0d 70 6c 61 79 | 20 53 31 30 0d 70 61 73 |S10.play| S10.pas|
|00006340| 73 20 64 65 6c 65 74 65 | 46 69 65 6c 64 0d 65 6e |s delete|Field.en|
|00006350| 64 20 64 65 6c 65 74 65 | 46 69 65 6c 64 0d 0d 6f |d delete|Field..o|
|00006360| 6e 20 64 65 6c 65 74 65 | 53 74 61 63 6b 0d 67 6c |n delete|Stack.gl|
|00006370| 6f 62 61 6c 20 53 31 31 | 0d 70 6c 61 79 20 53 31 |obal S11|.play S1|
|00006380| 31 0d 70 61 73 73 20 64 | 65 6c 65 74 65 53 74 61 |1.pass d|eleteSta|
|00006390| 63 6b 0d 65 6e 64 20 64 | 65 6c 65 74 65 53 74 61 |ck.end d|eleteSta|
|000063a0| 63 6b 0d 0d 6f 6e 20 65 | 6e 74 65 72 49 6e 46 69 |ck..on e|nterInFi|
|000063b0| 65 6c 64 0d 67 6c 6f 62 | 61 6c 20 53 31 32 0d 70 |eld.glob|al S12.p|
|000063c0| 6c 61 79 20 53 31 32 0d | 70 61 73 73 20 65 6e 74 |lay S12.|pass ent|
|000063d0| 65 72 49 6e 46 69 65 6c | 64 0d 65 6e 64 20 65 6e |erInFiel|d.end en|
|000063e0| 74 65 72 49 6e 46 69 65 | 6c 64 0d 0d 6f 6e 20 65 |terInFie|ld..on e|
|000063f0| 6e 74 65 72 4b 65 79 0d | 67 6c 6f 62 61 6c 20 53 |nterKey.|global S|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.